{"cve":"CVE-2026-59929","nvd":{"published":"2026-07-08T17:17:28.737","modified":"2026-10-25T17:10:00.197","status":"Analyzed","description":"Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the safe_url filter in src/mistune/renderers/html.py blocks only javascript:, vbscript:, file:, and data: schemes, allowing legacy or chained schemes such as feed:, view-source:, jar:, livescript:, mocha:, ms-its:, mk:, and res: to reach rendered href and src attributes and potentially execute script in affected user agents. This issue is fixed in version 3.3.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-184"],"references":["https://github.com/lepture/mistune/commit/c7101fcbb6e8790e8e39157c5ca2238fc6dd6cbc","https://github.com/lepture/mistune/releases/tag/v3.3.0","https://github.com/lepture/mistune/security/advisories/GHSA-qfrw-5rxm-mhh2"],"products":["mistune_project:mistune"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59929","score":0.00341,"percentile":0.27392,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-qfrw-5rxm-mhh2","url":"https://osv.dev/vulnerability/GHSA-qfrw-5rxm-mhh2","summary":"Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` execution","modified":"2026-07-20T21:46:41.246867209Z","packages":[{"ecosystem":"PyPI","name":"mistune","purl":"pkg:pypi/mistune","ranges":["<3.3.0"],"fixed":["3.3.0"]}]},{"id":"PYSEC-2026-2217","url":"https://osv.dev/vulnerability/PYSEC-2026-2217","summary":"","modified":"2026-07-13T07:15:18.820531742Z","packages":[{"ecosystem":"PyPI","name":"mistune","purl":"pkg:pypi/mistune","ranges":["<3.3.0"],"fixed":["3.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}