6.1

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

Analyzed
AliasesGHSA-8c25-4j27-2rv3PYSEC-2026-2211UBUNTU-CVE-2026-59923
Published 08-07-2026Last modified 08-07-2026

Vulnerability summary

CVE-2026-59923 is a medium (CVSS 6.1) vulnerability in lepture mistune. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 28.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.35%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 08-07-2026
    PublishedVulnerability first disclosed.
  2. 08-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.35% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Mistune

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • mistuneAll versions (No fix recorded)
Lepture1 product
Mistune_project1 product
PyPI1 product
  • mistune< 3.3.0
Ubuntu1 product
  • mistuneAll versions (No fix recorded)

5 vendors · 5 products

References

9 links