CVE-2017-15612 json
Cross-site Scripting in Mistune
published 9y ago modified 4mo ago also GHSA-hpv5-v8g5-c864 , PYSEC-2017-80 , EUVD-2017-0075
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- 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.
Patch / fix
- pypi mistune 0.8
- mistune Debian 14, Debian 13, Debian 12 0.8-1
debian advisories DEBIAN-CVE-2017-15612
- python-mistune openSUSE Tumbleweed 3.3.4-1.1
- python-mistune openSUSE Tumbleweed 3.0.2-2.5
opensuse advisories openSUSE-SU-2026:11585-1openSUSE-SU-2024:14148-1
- github.com/lepture/mistune@d6f0b64 commit
- github.com/lepture/mistune#140 pull request
Is CVE-2017-15612 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-15612 updated cvss 6.1
python-mistune: XSS via an unexpected newline / crafted email address
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/lepture/mistune/pull/140 referenced PoC, tagged "exploit" by a source, unverified
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
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-15612
advisory
-
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
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.