Skip to content
CVE PROGRAM SOURCE RECORD6.1 Medium

CVE-2026-59923

Mistune: XSS via percent-encoded javascript URI bypass in safe_url()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

lepture mistune

  • < 3.3.0affected

References