CVE-2026-44708

medium
Published 2026-05-26 Β· Modified 2026-05-28
CVSS v3
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
6.1

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.

Predictions

Exploit likelihood
71%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker Β· View original β†— Β· DFSG

CVE-2026-44708 NameCVE-2026-44708 DescriptionMistune 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…

CVE-2026-44708

NameCVE-2026-44708
DescriptionMistune 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1138260

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mistune (PTS)bullseye0.8.4-4vulnerable
bookworm2.0.4-1vulnerable
trixie3.1.3-1vulnerable
forky, sid3.1.4-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mistunesource(unstable)(unfixed)1138260

Notes

[trixie] - mistune <no-dsa> (Minor issue)
[bookworm] - mistune <no-dsa> (Minor issue)
https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[trixie] - mistune <no-dsa> (Minor issue)[bookworm] - mistune <no-dsa> (Minor issue)https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x

OS impact

debian Debian Affected 5 releases
VersionStatusFixed in
trixie Affected β€”
sid Affected β€”
forky Affected β€”
bullseye Affected β€”
bookworm Affected β€”
suse SUSE Affected 1 release
VersionStatusFixed in
β€” Affected β€”
windows Windows Affected 1 release
VersionStatusFixed in
β€” Affected β€”

Package impact

EcosystemPackageVulnerableFixed
python PyPImistune<=3.2.0
PIPmistune<= 3.2.0

Application impact

VendorProductVersionsFixed
mistune_projectmistune{"endExcluding":"3.2.1"}3.2.1

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.