# CVE-2026-115351: Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T19:13:27.678Z
- Modified: 2026-10-29T12:17:10.937Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- lepture mistune: from 3.2.1 before 3.3.0 (not affected: 3.3.0)

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`

## References

- <https://github.com/lepture/mistune/security/advisories/GHSA-xmwc-wjpr-q378> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/mistune-3.2.1-before-3.3.0-css-injection-via-figure-directive-figwidth-option> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-115351](https://www.cve.org/CVERecord?id=CVE-2026-115351), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-115351](https://nvd.nist.gov/vuln/detail/CVE-2026-115351), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-115351 · Whole record: https://cve.day/CVE-2026-115351.json · Rebuilt by cve.day 2026-11-25T22:59:46.806Z
