CVE-2026-59926

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.
Configurations

Configuration 1 (hide)

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

History

25 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) Mistune es un analizador de Markdown de Python con renderizadores y complementos. Antes de la versión 3.2.1, render_admonition() en src/mistune/directives/admonition.py concatena la opción :class: de la directiva Admonition en el atributo de clase HTML sin escapar, permitiendo la inyección de atributos y cross-site scripting incluso cuando el modo de escape de HTMLRenderer está habilitado. Este problema se ha solucionado en la versión 3.2.1.

09 Jul 2026, 19:38

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
First Time Mistune Project
Mistune Project mistune
CPE cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
References () https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2 - () https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2 - Patch
References () https://github.com/lepture/mistune/releases/tag/v3.2.1 - () https://github.com/lepture/mistune/releases/tag/v3.2.1 - Release Notes
References () https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h - () https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h - Vendor Advisory

08 Jul 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 17:17

Updated : 2026-10-25 17:10


NVD link : CVE-2026-59926

Mitre link : CVE-2026-59926

CVE.ORG link : CVE-2026-59926


JSON object : View

Products Affected

mistune_project

  • mistune
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')