StraitOfVuln
Latest / CVE-2026-136129

CVE-2026-136129

LowCVSS 2.1 (v4.0)Received
CVE.org ↗NVD ↗

Description

Incorrect Behavior Order: Validate Before Canonicalize vulnerability in leandrocp mdex allows an attacker who controls Markdown input to place javascript: and data: URLs into Quill Delta output via entity-encoded control characters. MDEx.to_delta/2 blanks link, wikilink and image URLs that its dangerous-URL check flags, but render_url/2 in lib/mdex/delta_converter.ex runs that prefix check on the entity-decoded URL without first normalizing it as a browser would. A destination such as java	script:alert(1) reaches the check with a tab inside the scheme, passes, and is emitted unchanged. Browsers remove tab, carriage return and line feed and trim leading C0 control characters and spaces when parsing a URL, so the value runs as javascript:. Only applications that place the Delta link or image value into an href or src without their own URL check are exposed. Stock Quill re-sanitizes link protocols and is not affected. This issue affects mdex: from 0.13.2 before 0.15.0.

Details

CVE ID
CVE-2026-136129
Published / updated
30 Nov 2026, 19:17 UTC · last modified 30 Nov 2026, 19:17 UTC
Severity
LOW
CVSS score
2.1 · v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: Network
Affected vendor
leandrocp
Affected products
mdex
Affected versions
mdex: 0.13.2 to before 0.15.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
mdex 0.15.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.87% probability of exploitation in the next 30 days · 60% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db