Mistune from 3.2.1 before 3.3.0 contains a CSS injection vulnerability that allows attackers...
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| lepture | mistune |
≥ 3.2.1, < 3.3.0 |
3.3.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com