CVE Explorer
CVE-2026-44899
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the Image directive plugin validates the :width: and :height: options with a regex compiled as _num_re = re.compile(r"^\d+(?:\.\d*)?"). When the validated value is not a plain integer, render_block_image() inserts it directly into a style="width:...;" or style="height:...;" attribute. Because the value was accepted by the prefix-only regex, any CSS after the leading digits reaches the style= attribute verbatim and wi
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:35386ee9b64703695ae2f0065dfb0933dbf769254b4bd79bd7ff6eee98ff41c8 · sha256:16c451d5456021dd… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:35386ee9b64703695ae2f0065dfb0933dbf769254b4bd79bd7ff6eee98ff41c8 · sha256:16c451d5456021dd… · /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:35386ee9b64703695ae2f0065dfb0933dbf769254b4bd79bd7ff6eee98ff41c8 · sha256:16c451d5456021dd… · /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:35386ee9b64703695ae2f0065dfb0933dbf769254b4bd79bd7ff6eee98ff41c8 · sha256:16c451d5456021dd… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-ccfx-mfmx-2fx9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:35386ee9b64703695ae2f0065dfb0933dbf769254b4bd79bd7ff6eee98ff41c8 · sha256:16c451d5456021dd… · /containers/adp/0/references/0
{"name":"https://github.com/lepture/mistune/security/advisories/GHSA-ccfx-mfmx-2fx9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-ccfx-mfmx-2fx9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:35386ee9b64703695ae2f0065dfb0933dbf769254b4bd79bd7ff6eee98ff41c8 · sha256:16c451d5456021dd… · /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.