{"id":"CVE-2026-59930","sourceIdentifier":"security-advisories@github.com","published":"2026-07-08T17:17:28.867","lastModified":"2026-10-25T17:10:00.197","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Mistune es un analizador de Markdown para Python con renderizadores y plugins. Antes de la versión 3.3.0, el plugin toc y la directiva TableOfContents generan IDs de encabezado como valores predecibles toc_N sin slugificar el texto del encabezado, lo que permite que el contenido id=’toc_N’ controlado por el atacante colisione con los anclajes generados y redirija la navegación en la misma página, los selectores CSS o los manejadores de JavaScript. Este problema se ha solucionado en la versión 3.3.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"lepture","product":"mistune","versions":[{"version":"< 3.3.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-09T13:53:53.247241Z","id":"CVE-2026-59930","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-345"},{"lang":"en","value":"CWE-1284"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.0","matchCriteriaId":"63E1B933-D2E2-44EF-A56C-94483300845B"}]}]}],"references":[{"url":"https://github.com/lepture/mistune/commit/c4093c4742ed0d10d9332fb8edb455869b7b581b","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/lepture/mistune/releases/tag/v3.3.0","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9","source":"security-advisories@github.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Third Party Advisory"]}]}