CVE-2026-44708 Details
Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the mistune math plugin renders inline math ($...$) and block math ($$...$$) by concatenating the raw user-supplied content directly into the HTML output without any HTML escaping. This occurs even when the parser is explicitly created with escape=True, which is supposed to guarantee that all user-controlled text is sanitised before reaching the DOM. This vulnerability is fixed in 3.2.1.
A cross-site scripting (XSS) vulnerability has been identified in the Mistune math plugin, which is a Python Markdown parser. The issue arises in versions prior to 3.2.1, where the math plugin renders inline ($...$) and block math ($$...$$) by directly concatenating user-supplied content into the HTML output without proper HTML escaping. This flaw occurs even when the parser is configured to escape content, leading to a violation of the expected XSS protection. The vulnerability allows an attacker to inject malicious scripts that could be executed in the context of the user's browser.
Users can upgrade to Mistune version 3.2.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x | CISA-ADP | ExploitVendor Advisory |
| https://github.com/lepture/mistune/releases/tag/v3.2.1 | [email protected] | ProductRelease Notes |
| https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mistune project mistune | < 3.2.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 28, 2026 | Initial Analysis | [email protected] |
| May 27, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |