Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-115351

Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

lepture mistune

Default version status: unaffected

  • 3.2.1 to < 3.3.0affected
  • 3.3.0unaffected
pkg:pypi/mistune

References