CVE-2026-59923

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 6.1
EPSS 0.0024
EPSS Percentile 14.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
lepture/mistune < 3.3.0
mistune_project/mistune < 3.3.0
pypi/mistune 0 - 3.3.0PyPI
Published Jul 08, 2026
Tracked Since Jul 08, 2026