Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
lepture mistune — Mistune Heading ID Attribute Injection XSS
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L N R C L L N 6.1 .0023 13.8 —
AFFECTED
Product Versions Fixed
mistune < 3.2.1 – —
TIMELINE
May 7 Reserved by GitHub_M
May 26 EXPLOIT PUBLISHED — CVE-2026-44897 (lepture mistune). Public exploit reference added.
May 26 Published (CNA: GitHub_M)
Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening <hN> tag by string-concatenating the id attribute value directly into the HTML — with no call to escape(), safe_entity(), or any other sanitisation function. A double-quote character " in the id value terminates the attribute, allowing an attacker to inject arbitrary additional attributes (event handlers, src=, href=, etc.) into the heading element. This vulnerability is fixed in 3.2.1.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| May 7, 2026 | Reserved | Reserved by GitHub_M |
| May 26, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-44897 (lepture mistune). Public exploit reference added. |
| May 26, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| lepture | mistune | — | < 3.2.1 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-44897 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.