{"action":"Upgrade mistune to 3.3.0 or later.","affected":[{"fixed":"3.3.0","introduced":"0"}],"component":"mistune","cve_ids":["CVE-2026-59930"],"ecosystem":"PyPI","epss":0.00192,"exploited":false,"fixed_versions":["3.3.0"],"ghsa_id":"GHSA-2hm2-hc3v-44h9","id":"tcs_01M5KESNPSSYW0J9P6DWWGATKB","modified_at":"2026-07-20T21:46:43.352385519Z","published_at":"2026-07-20T21:35:11Z","references":["https://osv.dev/vulnerability/GHSA-2hm2-hc3v-44h9","https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9","https://nvd.nist.gov/vuln/detail/CVE-2026-59930","https://github.com/lepture/mistune/commit/c4093c4742ed0d10d9332fb8edb455869b7b581b","https://github.com/lepture/mistune","https://github.com/lepture/mistune/releases/tag/v3.3.0","https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2218.yaml"],"severity":{"label":"medium","score":4.3},"sources":[{"source":"osv","source_id":"GHSA-2hm2-hc3v-44h9","url":"https://osv.dev/vulnerability/GHSA-2hm2-hc3v-44h9"}],"summary":"Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id=\"toc_N\"` content"}