PT-2026-56511
CVE-2026-59926
·
Published
2026-07-08
·
Updated
2026-07-20
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Mistune versions prior to 3.2.1
Description
The
render admonition() function in src/mistune/directives/admonition.py concatenates the :class: option of the Admonition directive into the HTML class attribute without proper escaping. This allows for attribute injection and cross-site scripting (XSS), a technique where malicious scripts are injected into trusted websites, even when the HTMLRenderer escape mode is active.Recommendations
Update to version 3.2.1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾