CVE-2017-15612
MEDIUM 6.1CVSS 3.0Cross-site Scripting in Mistune
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.
- Published
- 19 Oct 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-hpv5-v8g5-c864PYSEC-2017-80
- Sources
- NVDJSONOSV GHSA-hpv5-v8g5-c864JSONOSV PYSEC-2017-80JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mistune_project | mistunecpe:2.3:a:mistune_project:mistune:0.7.4:*:*:*:*:*:*:* |
= 0.7.4 | |
| OSV | PyPI | mistune | < 0.8 | 0.8 |
References
- https://github.com/lepture/mistune/pull/140 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-15612 · ADVISORY
- https://github.com/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe · WEB
- https://github.com/advisories/GHSA-hpv5-v8g5-c864 · ADVISORY
- https://github.com/lepture/mistune · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-80.yaml · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 19 Oct 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Oct 2017)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)