{"id":"CVE-2017-15612","published":"2017-10-19T08:00:00Z","modified":"2024-08-05T19:57:27Z","title":"mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\\nscript:) or a crafted email…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00931,"percentile":0.61494,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/lepture/mistune/pull/140","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":12.3}]},"affected":[{"ecosystem":"PyPI","package":"mistune","vulnerableRanges":["<0.8"],"patched":["0.8"],"from":["GHSA-hpv5-v8g5-c864","PYSEC-2017-80"],"provenance":"source"}],"summary":{"text":"The flaw is in mistune.py, a Python Markdown parser, in version 0.7.4, specifically in its escape and autolink functions. An attacker can inject cross-site scripting by using an unexpected newline inside a URL scheme (such as splitting \"javascript:\" across a line break) or by supplying a crafted email address.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:45Z"},"euvd":{"id":"EUVD-2017-0075","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mistune-cve-2017-15612","children":[{"from":"CVE-2017-15612","to":"CVE-2017-16876","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mistune","fromFixed":"0.8","toFixed":"0.8.1","daysApart":71},{"kind":"same-code","provenance":"machine","files":["mistune.py"],"commits":["https://github.com/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe","https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2017-15612","published":"2017-10-19","fixed":"0.8","kev":false},{"cve":"CVE-2017-16876","published":"2017-12-29","fixed":"0.8.1","kev":false},{"cve":"CVE-2022-34749","published":"2022-07-25","fixed":"2.0.3","kev":false},{"cve":"CVE-2026-33079","published":"2026-05-06","fixed":"3.2.1","kev":false}],"package":"PyPI:mistune"}}