PT-2026-56509 · Pypi · Mistune

·

CVE-2026-59923

·

Published

2026-07-08

·

Updated

2026-07-21

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Mistune versions prior to 3.3.0
Description The HTMLRenderer.safe url() function fails to block percent-encoded javascript URIs. This allows an attacker to use specially crafted Markdown links or images to bypass URL protections and execute arbitrary scripts within the rendered HTML.
Recommendations Update to version 3.3.0. As a temporary mitigation, restrict the use of the HTMLRenderer.safe url() function when processing untrusted Markdown input.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-59923
ECHO-18B1-043A-4C2C
GHSA-8C25-4J27-2RV3
OPENSUSE-SU-2026:21339-1
PYSEC-2026-2211
SUSE-SU-2026:22655-1

Affected Products

Mistune