Skip to content
5.3 Medium

CVE-2026-115351 Mistune from 3.2.1 before 3.3.0 contains a CSS injection vulnerability that allows attackers controlling markdown…

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 products and versions

Product Affected versions Fixed in
mistune 3.3 earliest → < 3.3.0 3.3.0
mistune 3.2 3.2.1 → < 3.3.0 3.3.0

References

Timeline

  1. Published
  2. Last modified
The 28 CVEs of mistune →
Track this CVE