CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-59930

mediumCVSS 4.3covered by 2 sourcesfirst seen 2026-07-02
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.

CSIRTS triage

What
The TableOfContents directive allows for predictable heading IDs that can collide with attacker-controlled content.
Who is affected
Users of Mistune are affected by this vulnerability.
Urgency
Remediation is necessary as it poses a medium severity risk.
Action
Consider updating to a patched version of Mistune when available.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch CVE-2026-59930

Get an email if CVE-2026-59930 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (2)

External references

NVD record for CVE-2026-59930

CVE.org record

Embed the live status

CVE-2026-59930 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-59930 status](https://www.csirts.com/badge/CVE-2026-59930)](https://www.csirts.com/cve/CVE-2026-59930)