CVE-2026-59926
MEDIUM
MEDIUM
Priority: 0.02
BB Relevance:
61/100
Published: 2026-07-08
Modified: 2026-10-25
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Auth
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
Passive
S:
X
AT:
None
VC:
Low
VI:
Low
VA:
None
Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, allowing attribute injection and cross-site scripting even when HTMLRenderer escape mode is enabled. This issue is fixed in version 3.2.1.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| mistune_project | mistune | < 3.3.0 |
References & Advisories (3)
Vendor Advisory
Release Notes
Patch