tocsin

PyPI/mistune CVE-2026-59930: medium 4.3, EPSS 0.19%

Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id="toc_N"` content

Action: Upgrade mistune to 3.3.0 or later.

pip install mistune==3.3.0

Affected

introducedfixedlast affected
03.3.0-

Fixed versions

3.3.0

Sources

CVE-2026-59930 · published · modified · JSON