CVE-2026-59923Published Jul 8, 2026 · Jul 8Updated Oct 28
Mistune: XSS via percent-encoded javascript URI bypass in safe_url()
lepture mistune
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mistune PyPI |
|
|
Original description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, HTMLRenderer.safe_url() does not block percent-encoded javascript URIs, allowing attacker-supplied Markdown links or images to bypass URL protections and execute script in rendered HTML. This issue is fixed in version 3.3.0.
From the CVE record · GitHub_M