CVE-2026-44708
python-mistune: Mistune: Cross-Site Scripting via improper HTML escaping in math plugin
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | mistune | <=3.2.0 | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-mistune | 0:3.2.1-1.azl3 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | python3-mistune | 3.3.4-1.ph5 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-mistune +1 | affected |
| 8 | python-mistune | affected |
| 9 | python-mistune | affected |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-mistune | 3.1.3-160000.3.1 | SUSE-SU-2026:21858-1 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| datahub-ingestion-fips | 1.5.0.1-r2 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r2 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | mistune | affected |
| 12 | mistune | affected |
| 13 | mistune | affected |
| 14 | mistune | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mistune | affected |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-mistune | 3.1.3-160000.3.1 | openSUSE-SU-2026:20827-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | mistune | affected |
| 26.04 | mistune | affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-pipelines-visualization-server | 2.16.1-r2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-44708
- github.com https://github.com/lepture/mistune
- github.com https://github.com/lepture/mistune/releases/tag/v3.2.1
- github.com https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-44708
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-44708
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.