Skip to main content
CVE-2026-59923VulnerabilityPublished

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

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-59923· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium : upgrade to 3.3.0 when convenient.

Data as of 17 Nov 2026, 11:06 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.3.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade mistune to 3.3.0.

Affected software

ProductAffectedFixed in
lepturemistuneAffected
  • <3.3.0
Fixed in
  • 3.3.0
PyPImistunepkg:pypi/mistuneOther threatsAffected
  • <3.3.0
Fixed in
  • 3.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, consider applying additional input validation or sanitization on URLs to mitigate potential exploitation.

Description

CVE-2026-59923 is a cross-site scripting (XSS) vulnerability in Mistune version 4.0. It involves a bypass of the safe_url() function via percent-encoded javascript URIs, potentially allowing injection of malicious scripts.

References

Community reviews

Loading reviews…