CVE-2026-59930
Last modified
CVE-2026-59930 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled id="toc_N" content to collide with generated anchors and redirect same-page navigation, CSS selectors, or JavaScript handlers. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled id="toc_N" content to collide with generated anchors and redirect same-page navigation, CSS selectors, or JavaScript handlers. This issue is fixed in version 3.3.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mistune Project | Mistune | < 3.3.0 |
References
- https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9Exploit, Third Party Advisory
- https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59930?
How severe is CVE-2026-59930?
How do I fix CVE-2026-59930?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59925Mistune is a Python Markdown parser with renderers and plugi…7.5
- CVE-2026-59926Mistune is a Python Markdown parser with renderers and plugi…6.1
- CVE-2026-59927Mistune is a Python Markdown parser with renderers and plugi…5.3
- CVE-2026-59928Mistune is a Python Markdown parser with renderers and plugi…7.5
- CVE-2026-59929Mistune is a Python Markdown parser with renderers and plugi…6.1
- CVE-2026-5993A vulnerability was identified in Totolink A7100RU 7.4cu.231…9.8
- CVE-2026-59931PhpSpreadsheet is a pure PHP library for reading and writing…7.7
- CVE-2026-59932PhpSpreadsheet is a pure PHP library for reading and writing…7.5
- CVE-2026-59933PhpSpreadsheet is a pure PHP library for reading and writing…7.5
- CVE-2026-59935pypdf is a free and open-source pure-python PDF library. Pri…7.5
- CVE-2026-59936pypdf is a free and open-source pure-python PDF library. Pri…7.5
- CVE-2026-59937pypdf is a free and open-source pure-python PDF library. Pri…7.5
Are you affected by CVE-2026-59930?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
