{"id":"CVE-2026-115351","published":"2026-10-22T19:13:27Z","modified":"2026-10-29T11:53:14Z","title":"Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option","vendor":"lepture","product":"mistune","tier":"tail","description":{"text":"Mistune from 3.2.1 before 3.3.0 contains a CSS injection vulnerability that allows attackers controlling markdown input to inject arbitrary style declarations via the unvalidated figwidth option of the figure directive. Attackers can append declarations like background:url() to the rendered figure style attribute, forcing victim browsers to send requests to attacker servers and leak attribute values.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00309,"percentile":0.16163,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-xmwc-wjpr-q378","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/mistune-3.2.1-before-3.3.0-css-injection-via-figure-directive-figwidth-option","tags":["third-party-advisory"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":3.23},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"lepture","affectedVersions":[{"vendor":"lepture","product":"mistune","versions":[">= 3.2.1, < 3.3.0"]}],"fixedVersions":[{"vendor":"lepture","product":"mistune","versions":["3.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T11:52:50.353872Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-108420","exploited":false,"provenance":"source"}}