CVE-2026-115351

published 22 Oct 2026 · updated 16 Nov 2026

Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
lepture>=3.2.1 <3.3.03.3.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-115351 severity on Zeptric[![CVE-2026-115351](https://zeptric.io/badge/cve/CVE-2026-115351.svg)](https://zeptric.io/cve/CVE-2026-115351)