Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-59930
VULNERABILITY

CVE-2026-59930

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
4.3
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Timeline

Published
Jul 8, 2026 17:17
Modified
Oct 25, 2026 17:10
Last observed
Oct 25, 2026 14:04

CWE

CWE-345CWE-1284

Affected product identifiers

cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*

References