CVE Catalog

CVE-2026-44896

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

Mistune, a Python Markdown parser, up to version 3.2.0 is vulnerable to attribute injection and XSS in the render_figure() function in image.py. The figclass and figwidth options are concatenated directly into HTML attributes without escaping, even with HTMLRenderer(escape=True).

Risk Assessment

An attacker can inject malicious HTML attributes or scripts, potentially leading to XSS and user data theft.

Recommendation

Update the Mistune library to version 3.2.1, which contains a security fix.

Other vulnerabilities in Mistune

See all
Original NVD description (English source)

Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS