CVE-2026-59930
MEDIUM
MEDIUM
Priority: 0.01
BB Relevance:
59/100
Published: 2026-07-08
Modified: 2026-10-25
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Auth
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
Required
S:
Unchanged
C:
None
I:
Low
A:
None
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.
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| mistune_project | mistune | < 3.3.0 |
References & Advisories (3)
Release Notes
Patch
Exploit
Third Party Advisory