CVE Explorer
CVE-2026-44896
Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.
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:17ecd2f0b617ecc12d1f291c3f2b7786e982c5b19f9935f2012ba5ab0125b0d8 · sha256:d746d73aca7a144a… · /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:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:17ecd2f0b617ecc12d1f291c3f2b7786e982c5b19f9935f2012ba5ab0125b0d8 · sha256:d746d73aca7a144a… · /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:17ecd2f0b617ecc12d1f291c3f2b7786e982c5b19f9935f2012ba5ab0125b0d8 · sha256:d746d73aca7a144a… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 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:17ecd2f0b617ecc12d1f291c3f2b7786e982c5b19f9935f2012ba5ab0125b0d8 · sha256:d746d73aca7a144a… · /containers/cna/references/1
{"name":"https://github.com/lepture/mistune/security/advisories/GHSA-58cw-g322-p94v","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-58cw-g322-p94v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:17ecd2f0b617ecc12d1f291c3f2b7786e982c5b19f9935f2012ba5ab0125b0d8 · sha256:d746d73aca7a144a… · /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.