Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-59926
VULNERABILITY

CVE-2026-59926

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.3
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Jul 8, 2026 17:17
Modified
Oct 25, 2026 17:10
Last observed
Oct 25, 2026 14:04

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*

References