Skip to main content
CVE-2026-59930VulnerabilityPublished Updated

Microsoft · Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-59930· Medium 4.3

Not known to be exploited · CVSS 4.3 Medium : upgrade to 3.3.0 when convenient.

Data as of 17 Nov 2026, 10:50 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.3.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade mistune to 3.3.0.

Affected software

ProductAffectedFixed in
lepturemistuneAffected
  • <3.3.0
Fixed in
  • 3.3.0
PyPImistunepkg:pypi/mistuneOther threatsAffected
  • <3.3.0
Fixed in
  • 3.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The Mistune toc/TableOfContents directive generates heading IDs using a predictable numbering scheme (toc_N) without slugification. This behavior can lead to predictable element IDs in generated content. The vulnerability is identified as CWE-345, indicating insufficient verification of data authenticity or integrity. The affected versions are 3.0 and 4.0 of the product. No CVSS score or detailed impact information is provided.

References

Community reviews

Loading reviews…