Home

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.

PUBLISHED Reserved 2026-05-07 | Published 2026-05-26 | Updated 2026-05-27 | Assigner GitHub_M




MEDIUM: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Problem types

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

Product status

< 3.2.1
affected

References

github.com/...istune/security/advisories/GHSA-8g87-j6q8-g93x exploit

github.com/...istune/security/advisories/GHSA-8g87-j6q8-g93x

github.com/lepture/mistune/releases/tag/v3.2.1

cve.org (CVE-2026-44708)

nvd.nist.gov (CVE-2026-44708)

Download JSON