CVE-2026-115351
JSON

5.3medium

Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
lepture mistunefrom 3.2.1 before 3.3.0
Not affected: 3.3.0
CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-115351 changed 2026-10-29CVE Terms of Use
NVDCVE-2026-115351 changed 2026-10-29Public domain