CVE-2026-59923

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

MEDIUM
6.1
CVSS Score
Published: July 8, 2026 at 04:14 PM UTC
Updated: October 25, 2026 at 05:10 PM UTC
2 products affected across 2 vendorsMistuneProject Mistune

Using mistune by lepture?

Get instant alerts when new vulnerabilities affect mistune - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.3%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.3.0
Affected range stops below 3.3.0, so it looks safe — our inference, not a vendor statement
v < 3.3.0
Affected range stops below 3.3.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/lepture/mistune/security/advisories/GHSA-8c25-4j27-2rv3
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/lepture/mistune/releases/tag/v3.3.0

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card