Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| lepture / mistune | affected 3.2.1 before 3.3.0; unaffected 3.3.0 |
CWE
CWE-94