CVE Explorer
CVE-2026-59926
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, allowing attribute injection and cross-site scripting even when HTMLRenderer escape mode is enabled. This issue is fixed in version 3.2.1.
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:16253726d2866d6f5647882bc65d501acf5003fc5c39ab9fa9da24a22b740a39 · sha256:000f78eda885f684… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:16253726d2866d6f5647882bc65d501acf5003fc5c39ab9fa9da24a22b740a39 · sha256:000f78eda885f684… · /containers/cna/metrics/0/cvssV4_0
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:16253726d2866d6f5647882bc65d501acf5003fc5c39ab9fa9da24a22b740a39 · sha256:000f78eda885f684… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2","tags":["x_refsource_MISC"],"url":"https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:16253726d2866d6f5647882bc65d501acf5003fc5c39ab9fa9da24a22b740a39 · sha256:000f78eda885f684… · /containers/cna/references/1
{"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:16253726d2866d6f5647882bc65d501acf5003fc5c39ab9fa9da24a22b740a39 · sha256:000f78eda885f684… · /containers/cna/references/2
{"name":"https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:16253726d2866d6f5647882bc65d501acf5003fc5c39ab9fa9da24a22b740a39 · sha256:000f78eda885f684… · /containers/cna/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.