CVE-2026-115351
published medium CVSS 4.0 · 5.3Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lepture | — | mistune3.2.1 to < 3.3.0 (affected · semver) · 3.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lepture | mistune | 3.2.1 to < 3.3.0 (affected · semver)3.3.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2- GitHub Security Advisory (GHSA-xmwc-wjpr-q378) https://github.com/lepture/mistune/security/advisories/GHSA-xmwc-wjpr-q378
- VulnCheck Advisory: Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option https://www.vulncheck.com/advisories/mistune-3.2.1-before-3.3.0-css-injection-via-figure-directive-figwidth-option
Provider assertions
2VulnCheck · cna
Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a937946fb290d570109cfec19ae497f151dc1e0d376f7db2e0bdadb4271a8033
- Ingested
- 29 Oct 2026, 11:56:14 UTC
- Source record
- Official CVE record