{"schema_version":"1.7.3","id":"GHSA-hpv5-v8g5-c864","published":"2022-05-17T00:26:00Z","modified":"2024-02-16T08:01:43.287585Z","aliases":["CVE-2017-15612","PYSEC-2017-80"],"summary":"Cross-site Scripting in Mistune","details":"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.","affected":[{"package":{"name":"mistune","ecosystem":"PyPI","purl":"pkg:pypi/mistune"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8"}]}],"versions":["0.1.0","0.2.0","0.3.0","0.3.1","0.4","0.4.1","0.5","0.5.1","0.6","0.7","0.7.1","0.7.2","0.7.3","0.7.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hpv5-v8g5-c864/GHSA-hpv5-v8g5-c864.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15612"},{"type":"WEB","url":"https://github.com/lepture/mistune/pull/140"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hpv5-v8g5-c864"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-80.yaml"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2022-07-01T19:44:32Z","nvd_published_at":"2017-10-19T08:29:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}