๐Ÿ” CVE Alert

CVE-2026-59926

UNKNOWN 0.0

Mistune: XSS via unescaped class option in Admonition directive

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor lepture
Product mistune
Published Jul 8, 2026
Last Updated Jul 8, 2026
Stay Ahead of the Next One

Get instant alerts for lepture mistune

Be the first to know when new unknown vulnerabilities affecting lepture mistune are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

lepture / mistune
< 3.2.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h github.com: https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2 github.com: https://github.com/lepture/mistune/releases/tag/v3.2.1