Markdown Parsing Vulnerability in Mistune Python Library
CVE-2026-44708
6.1MEDIUM
What is CVE-2026-44708?
The Mistune Markdown parser, a widely-used Python library for rendering Markdown, is susceptible to a vulnerability that permits unsafe rendering of user-supplied content in HTML. Specifically, prior to version 3.2.1, the math plugin of Mistune allowed inline and block math to be rendered without adequate HTML escaping. This oversight raised security concerns by exposing applications to cross-site scripting (XSS) attacks, as user-controlled mathematical expressions could be injected directly into the HTML output. To mitigate this issue, it is essential to update to Mistune version 3.2.1 or higher, where this vulnerability has been addressed.
Affected Version(s)
mistune < 3.2.1
