Skip to main content
VulnerabilityPublished Updated

CVE-2026-44898: Mistune · Prior to 3.2.1, render_toc_ul() builds a <ul> table-of-contents tree from a list of (level

Affects mistuneSource GCVE Database

0
Compare
Authoritative record:CVE-2026-44898· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 3.2.1 : update mistune when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.2.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 May 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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10mistunepkg:deb/ubuntu/mistune?arch=source&distro=stonkingOther threatsAffected
  • =3.1.4-1
Fixed in–
Ubuntu 26.10mistune0pkg:deb/ubuntu/mistune0?arch=source&distro=stonkingOther threatsAffected
  • =0.8.4-6
Fixed in–
Ubuntu 26.04 LTSmistunepkg:deb/ubuntu/mistune?arch=source&distro=resoluteOther threatsAffected
  • =3.1.3-1
  • =3.1.4-1
Fixed in–
Ubuntu 26.04 LTSmistune0pkg:deb/ubuntu/mistune0?arch=source&distro=resoluteOther threatsAffected
  • =0.8.4-4
  • =0.8.4-5
  • =0.8.4-6
Fixed in–
Ubuntu 25.10mistunepkg:deb/ubuntu/mistune?arch=source&distro=questingOther threatsAffected
  • =3.0.2-2
  • =3.1.3-1
Fixed in–
Ubuntu 25.10mistune0pkg:deb/ubuntu/mistune0?arch=source&distro=questingOther threatsAffected
  • =0.8.4-4
Fixed in–

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

Description

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() builds a <ul> table-of-contents tree from a list of (level, id, text) tuples. Both the id value (used as href="#<id>") and the text value (used as the visible link label) are inserted into <a> tags via a plain Python format string — with no HTML escaping applied to either value. When heading IDs are derived from user-supplied heading text (the standard use-case for readable slug anchors), an attacker can craft a heading whose text breaks out of the href="#..." attribute context, injecting arbitrary HTML tags including <script> blocks directly into the rendered TOC. This vulnerability is fixed in 3.2.1.

References

Community reviews

Loading reviews…