
CVE catalog
CVE-2026-59926
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into th
- Severity
- Medium · CVSS 5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, allowing attribute injection and cross-site scripting even when HTMLRenderer escape mode is enabled. This issue is fixed in version 3.2.1.
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 | vulnerable |
| Debian | mistune | bookworm | 2.0.4-1 | not affected |
| Cpe | mistune | Not reported | 3.3.0 | fixed |
| Pip | mistune | Not reported | 3.3.0 | fixed |
| PyPI | mistune | Not reported | 3.3.0 | fixed |
| Cpe | mistune | Not reported | 3.3.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mistune | source | sid | 3.1.4-1 | not yet assigned | Not reported | [1141770] |
| Debian | mistune | source | forky | 3.1.4-1 | not yet assigned | Not reported | [1141770] |
| Debian | mistune | source | trixie | (unfixed) | not yet assigned | Not reported | [1141770] |
| Debian | mistune | source | bookworm | Not affected | unimportant | Not reported | [1141770] |
| Cpe | mistune | cpe | Not reported | 3.3.0 | Not reported | Not reported | Not reported |
| Pip | mistune | pip | Not reported | 3.3.0 | Not reported | Not reported | Not reported |
| PyPI | mistune | PyPI | Not reported | 3.3.0 | Not reported | Not reported | Not reported |
| Cpe | mistune | cpe | Not reported | 3.3.0 | Not reported | NVD-CVE-2026-59926 | Not reported |
Notes
[trixie] mistune: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [python3-mistune]Affected
Source package: [mistune]
Details (2)
3.1.3-1· all · trixieAffected
nvd · mistune · debian · 13
3.1.3-1· all · trixieAffected
nvd · mistune · debian · 13
[Debian 12 (Bookworm)]
- [python3-mistune]Not affected
Source package: [mistune]
Details (2)
2.0.4-1· all · bookwormNot affected
nvd · mistune · debian · bookworm
2.0.4-1· all · bookwormNot affected
nvd · mistune · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_22655-1.json]
- [https://github.com/advisories/GHSA-g97x-gvcm-x72h]
- [https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2]
- [https://github.com/lepture/mistune/releases/tag/v3.2.1]
- [https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-59926]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-59926]
- [https://osv.dev/vulnerability/GHSA-g97x-gvcm-x72h]
- [https://osv.dev/vulnerability/PYSEC-2026-2214]
- [https://security-tracker.debian.org/tracker/CVE-2026-59926]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59926.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]