lepture/mistune · Security
Cross-site Scripting in Mistune
- GHSA ID
- GHSA-hpv5-v8g5-c864
- CVE ID
- CVE-2017-15612
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\nscript:) or a crafted email address, related to the escape and autolink functions.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-15612 ↗
- https://github.com/lepture/mistune/pull/140 ↗
- https://github.com/advisories/GHSA-hpv5-v8g5-c864 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-80.yaml ↗
- https://github.com/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe ↗