CVE-2026-59930
CVE-2026-59930 is a medium-severity vulnerability in Mistune Project Mistune with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-345.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- EPSS exploit prediction: 0% (8th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-345
- Affected product: Mistune Project Mistune
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-59930?
- 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.
- How severe is CVE-2026-59930?
- CVE-2026-59930 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2026-59930 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (8th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-59930?
- CVE-2026-59930 affects Mistune Project Mistune. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-59930?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2026-59930 published?
- CVE-2026-59930 was published on 2026-07-08 and last updated on 2026-07-09.
References
- https://github.com/lepture/mistune/commit/c4093c4742ed0d10d9332fb8edb455869b7b581b
- https://github.com/lepture/mistune/releases/tag/v3.3.0
- https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9
Affected products (1)
- cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
More vulnerabilities in Mistune Project Mistune
- CVE-2026-59928 — High (CVSS 7.5): Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a Markdown document containing many…
- CVE-2026-59925 — High (CVSS 7.5): Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, long sequences of well-formed…
- CVE-2026-59922 — High (CVSS 7.5): Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a run of closed tilde, equals-sign, or…
- CVE-2022-34749 — High (CVSS 7.5): In mistune through 2.0.2, support of inline markup is implemented by using regular expressions that can involve a high…
- CVE-2026-59929 — Medium (CVSS 6.1): Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the safe_url filter in…
- CVE-2026-59926 — Medium (CVSS 6.1): Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in…
All CVEs affecting Mistune Project Mistune →
Other CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities
- CVE-2026-62874 — Critical (CVSS 10.0): Insufficient verification of data authenticity in Azure Billing allows an unauthorized attacker to elevate privileges…
- CVE-2026-35051 — Critical (CVSS 10.0): Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is an…
- CVE-2014-8165 — Critical (CVSS 10.0): scripts/amsvis/powerpcAMS/amsnet.py in powerpc-utils-python uses the pickle Python module unsafely, which allows remote…
- CVE-2026-50195 — Critical (CVSS 9.9): containerd is an open-source container runtime. Versions prior to 2.3.2, 2.2.5 and 2.1.9 contain a vulnerability in the…
- CVE-2022-36130 — Critical (CVSS 9.9): HashiCorp Boundary up to 0.10.1 did not properly perform data integrity checks to ensure the resources were associated…
- CVE-2026-104056 — Critical (CVSS 9.8): Authlib version 1.7.2 and below contains a vulnerability where discovery JSON metadata is cached without validation or…
Browse all CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities →