CVE-2026-44708Mistune Project Mistune
Medium 6.1 No auth needed
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- May 26, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mistune.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mistune |
≤ 3.2.0 |
no fixed version | — |
| PyPI | mistune |
< 3.2.1 |
3.2.1 |
pip install "mistune>=3.2.1" |
Per OSV / GitHub Advisories (GHSA-8g87-j6q8-g93x, PYSEC-2026-2206). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mistune_project | mistune | < 3.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes
- github.com Exploit Vendor Advisory