MEDIUM 6.1 PyPI
mistune Cross-site scripting (XSS) vulnerability
GHSA-98gj-wwxm-cj3h · CVE-2017-16876 · PYSEC-2017-18
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the "key" argument.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2017-16876
- WEB https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=1524596
- PACKAGE https://github.com/lepture/mistune
- WEB https://github.com/lepture/mistune/blob/master/CHANGES.rst
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC
Ready to move
Start Securing
Free, no credit card | First findings in minutes