4.7Mittel
CVE-2026-115351Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option
Beschreibung
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.
Schwachstellentyp (CWE):
CWE-94
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| lepture | mistune | 3.2.1 – < 3.3.0, fixed 3.3.0 | |
| mistune project | mistune | 3.2.1 – < 3.3.0 |
Referenzen und Patches
- GitHub Security Advisory (GHSA-xmwc-wjpr-q378) vendor-advisory
- VulnCheck Advisory: Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option third-party-advisory