CVE-2026-59930

MEDIUM CVSS 3.1: 4.3 EPSS 0.19%
Updated Oct 25, 2026
Mistune_Project
Parameter Value
CVSS 4.3 (MEDIUM)
Affected Versions before 3.3.0
Fixed In 3.3.0
Type CWE-1284, CWE-345 (Insufficient Verification of Data)
Vendor Mistune_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Mistune_Project Mistune
cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
— 3.3.0