6.1med
CVE-2017-15612
Cross-site Scripting in Mistune
Also known as GHSA-hpv5-v8g5-c864, PYSEC-2017-80
Published 9 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.9%
percentile 61%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
0.93% probability of exploitation in the next 30 days, higher than 61% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | mistune | <0.8 | 0.8 |
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- github.com /lepture/mistune/pull/140 · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-15612 · advisory
- github.com /lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe · web
- github.com /advisories/GHSA-hpv5-v8g5-c864 · advisory
- github.com /lepture/mistune · package
- github.com /pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-80.yaml · web
Sources
- CVE List: CVE-2017-15612
- GitHub Advisory: GHSA-hpv5-v8g5-c864
- NVD: CVE-2017-15612
- OSV: PYSEC-2017-80
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.