{"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-08-26T18:28:12.793681834Z","published":"2017-12-29T15:29:00.610Z","related":["openSUSE-SU-2024:11239-1","openSUSE-SU-2024:13453-1","openSUSE-SU-2024:14148-1","openSUSE-SU-2026:11585-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_STRING","vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"26"},{"last_affected":"26"}]}]},"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":{"cpe":"cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.8.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.8","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7","v0.6","v0.5.1","v0.5","v0.4.1","v0.4","v0.3.1","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16876.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}