{"id":"CVE-2017-16876","details":"Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument.","aliases":["GHSA-98gj-wwxm-cj3h","PYSEC-2017-18"],"modified":"2026-04-16T06:16:18.421588595Z","published":"2017-12-29T15:29:00.610Z","related":["openSUSE-SU-2024:11239-1","openSUSE-SU-2024:13453-1","openSUSE-SU-2024:14148-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/"},{"type":"ADVISORY","url":"https://github.com/lepture/mistune/blob/master/CHANGES.rst"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1524596"},{"type":"FIX","url":"https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lepture/mistune","events":[{"introduced":"0"},{"fixed":"cef69acaa506567595e95ab6ecea25a806de622e"},{"fixed":"5f06d724bc05580e7f203db2d4a4905fc1127f98"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.8.1"}]}}],"versions":["v0.1.0","v0.2.0","v0.3.0","v0.3.1","v0.4","v0.4.1","v0.5","v0.5.1","v0.6","v0.7","v0.7.1","v0.7.2","v0.7.3","v0.7.4","v0.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16876.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"26"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}