CVE-2026-136129
Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)
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.
INFO
Published Date :
Nov. 30, 2026, 7:17 p.m.
Last Modified :
Nov. 30, 2026, 7:17 p.m.
Remotely Exploit :
Yes !
Source :
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | LOW | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | ||||
| CVSS 4.0 | LOW | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Normalize URLs before checking for dangerous schemes.
- Re-sanitize link protocols after processing input.
- Update mdex to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-136129.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-136129 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-136129
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-136129 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-136129 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.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 Added CWE CWE-180 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/136xxx/CVE-2026-136129.json">CVE-2026-136129</a> Added Reference https://cna.erlef.org/cves/CVE-2026-136129.html Added Reference https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f Added Reference https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009 Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-136129 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 30, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-136129', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-30T19:00:37.785028Z'}