Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-59930

Fixed in a distro release EPSS <1%CVSS 4.3

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled id="toc_N" content to collide with generated anchors and redirect same-page navigation, CSS selectors, or JavaScript handlers. This issue is fixed in version 3.3.0.

Published 2026-07-08 · CVE record · OSV

Products: lepture mistune

Fixed upstream

EcosystemPackageFixed in
PyPImistune3.3.0

Distro releases

ReleasePackageFixed in
Debian 12mistuneno fix
Debian 13mistuneno fix
Debian 14mistuneno fix
SUSE Linux Enterprise Server 16.0python-mistune3.1.3-160000.5.1
SUSE Linux Enterprise Server for SAP applications 16.0python-mistune3.1.3-160000.5.1
Ubuntu 16.04 LTSmistuneno fix
Ubuntu 18.04 LTSmistuneno fix
Ubuntu 20.04 LTSmistuneno fix
Ubuntu 22.04 LTSmistuneno fix
Ubuntu 24.04 LTSmistuneno fix
Ubuntu 25.10mistuneno fix
Ubuntu 26.04 LTSmistuneno fix
Ubuntu 26.10mistuneno fix
openSUSE Leap 16.0python-mistune3.1.3-160000.5.1