CVE-2026-59926: Mistune is a Python Markdown parser with renderers and plugins
CVE-2026-59926 is a medium-severity flaw (CVSS 6.1) affecting mistune. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 74%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-07-08 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59926?
mistune: upgrade to 3.3.0. Exact commands for each OS are on this page.
Is CVE-2026-59926 being exploited?
CVE-2026-59926 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59926 affect?
CVE-2026-59926 affects mistune. Severity is medium (CVSS 6.1). 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,
How urgent is CVE-2026-59926?
Priority 28/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-59922 HIGH 7.5 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59925 HIGH 7.5 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59928 HIGH 7.5 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59924 MEDIUM 5.9 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59927 MEDIUM 5.3 UPGRADE Mistune is a Python Markdown parser with renderers and plugins