{"id":"CVE-2026-115351","summary":"Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option","details":"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.","aliases":["GHSA-xmwc-wjpr-q378"],"modified":"2026-10-31T02:30:22.826580600Z","published":"2026-10-22T19:13:27.678Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115351.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115351.json"},{"type":"ADVISORY","url":"https://github.com/lepture/mistune/security/advisories/GHSA-xmwc-wjpr-q378"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115351"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mistune-3.2.1-before-3.3.0-css-injection-via-figure-directive-figwidth-option"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lepture/mistune","events":[{"introduced":"067f90861088a496942f5eb43236135352b85d39"},{"fixed":"15c3b79325125272263d7d42492ec8f757447191"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.2.1"},{"fixed":"3.3.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"DESCRIPTION","range":[{"introduced":"3.2.1"},{"fixed":"3.3.0"}]}]}}],"versions":["v3.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115351.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}