CVE Explorer
CVE-2026-44898
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"mistune","vendor":"lepture","versions":[{"status":"affected","version":"< 3.2.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6b5f124d3c9572efabd86f06697bdcd5852d4d25ca2f46eac28793905b86c16d · sha256:d374642eb657c9ba… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6b5f124d3c9572efabd86f06697bdcd5852d4d25ca2f46eac28793905b86c16d · sha256:d374642eb657c9ba… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f124d3c9572efabd86f06697bdcd5852d4d25ca2f46eac28793905b86c16d · sha256:d374642eb657c9ba… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/lepture/mistune/releases/tag/v3.2.1","tags":["x_refsource_MISC"],"url":"https://github.com/lepture/mistune/releases/tag/v3.2.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f124d3c9572efabd86f06697bdcd5852d4d25ca2f46eac28793905b86c16d · sha256:d374642eb657c9ba… · /containers/cna/references/1
{"name":"https://github.com/lepture/mistune/security/advisories/GHSA-6269-cqxg-mhhv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-6269-cqxg-mhhv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f124d3c9572efabd86f06697bdcd5852d4d25ca2f46eac28793905b86c16d · sha256:d374642eb657c9ba… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-6269-cqxg-mhhv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f124d3c9572efabd86f06697bdcd5852d4d25ca2f46eac28793905b86c16d · sha256:d374642eb657c9ba… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.