Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/lepture/mistune/security/advisories/GHSA-xmwc-wjpr-q378
- https://www.vulncheck.com/advisories/mistune-3.2.1-before-3.3.0-css-injection-vi
- https://github.com/lepture/mistune/security/advisories/GHSA-xmwc-wjpr-q378
FAQ
What is CVE-2026-115351?
CVE-2026-115351 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 th...
How severe is CVE-2026-115351?
CVE-2026-115351 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-115351?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.