{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-16876","published":"2017-12-29T15:29:00.610000Z","last_modified":"2026-06-17T01:10:04.403000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*","part":"a","vendor":"mistune_project","product":"mistune","version_end_excluding":"0.8.1"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"26"}],"cpes_truncated":false,"vendors":["mistune_project","fedoraproject"],"products":["mistune_project/mistune","fedoraproject/fedora"],"epss":{"score":0.02235,"percentile":0.83519,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-98gj-wwxm-cj3h","ecosystem":"PyPI","name":"mistune","purl":"pkg:pypi/mistune","ranges":[{"introduced":"0","fixed":"0.8.1"}],"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","0.8"],"versions_truncated":false},{"advisory":"PYSEC-2017-18","ecosystem":"PyPI","name":"mistune","purl":"pkg:pypi/mistune","ranges":[{"introduced":"0","fixed":"0.8.1"}],"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","0.8"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2017-16876/","html_en":"/en/cve/CVE-2017-16876/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16876","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-16876"},"untrusted":{"vendor_name":"Mistune Project","product_name":"Mistune","desc_en":"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.","affected":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1524596","tags":["Issue Tracking","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/lepture/mistune/blob/master/CHANGES.rst","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11585-1","url":"https://www.suse.com/support/update/","published":"2026-08-24T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"python313-mistune-3.3.4-1.1 on GA media"}}]}