6.1Medium

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

lepture mistune Published: (4 months ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
lepture mistune < 3.3.0
mistune project mistune < 3.3.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:* < 3.3.0