
CVE catalog
CVE-2017-16876
mistune: CVE-2017-16876
- Severity
- Medium · CVSS 6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.23% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mistune | sid | 3.4.0-1 | fixed |
| Debian | mistune | forky | 3.1.4-1 | fixed |
| Debian | mistune | trixie | 3.1.3-1 | fixed |
| Debian | mistune | bookworm | 2.0.4-1 | fixed |
| Ubuntu | mistune | 16.04 | 0.6-2 | vulnerable |
| Ubuntu | mistune | 16.04 | 0.7.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mistune | source | sid | 0.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | mistune | source | forky | 0.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | mistune | source | trixie | 0.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | mistune | source | bookworm | 0.8.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-mistune]Fixed
Source package: [mistune]
Details (2)
2.0.4-1· all · bookwormFixed · Fixed:
0.8.1-1dsa · mistune · debian · bookworm; dsa · mistune · debian · 12
2.0.4-1· all · bookwormFixed · Fixed:
0.8.1-1dsa · mistune · debian · bookworm; dsa · mistune · debian · 12
[Debian 13 (Trixie)]
- [python3-mistune]Fixed
Source package: [mistune]
Details (2)
3.1.3-1· all · trixieFixed · Fixed:
0.8.1-1dsa · mistune · debian · 13
3.1.3-1· all · trixieFixed · Fixed:
0.8.1-1dsa · mistune · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11585-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-16876]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-16876]
- [https://security-tracker.debian.org/tracker/CVE-2017-16876]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]