CVE-2026-136129
published low CVSS 4.0 · 2.1Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| leandrocp | — | mdex0.13.2 to < 0.15.0 · Other versions: unaffected | Affected | Not stated | EEF |
| leandrocp | — | leandrocp/mdexmdex · 2817147f5b87ce7186aa604c9ee72499485b8f2f to < 75e735a26859f93c36f10d17a3119f856fe69009 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| leandrocp | mdex | 0.13.2 to < 0.15.0 (affected · semver)Default: unaffected | EEF · cna |
| leandrocp | mdex | 2817147f5b87ce7186aa604c9ee72499485b8f2f to < 75e735a26859f93c36f10d17a3119f856fe69009 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-180 CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
References
4- EEF CNA record for CVE-2026-136129 https://cna.erlef.org/cves/CVE-2026-136129.html
- Introducing commit 2817147 in leandrocp/mdex https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f
- Fix commit 75e735a in leandrocp/mdex https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009
- OSV record EEF-CVE-2026-136129 https://osv.dev/vulnerability/EEF-CVE-2026-136129
Provider assertions
2EEF · cna
Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b9321420dcf91ab21241d65731de1e3380462efcde164031bbd7e0ffdc8bec61
- Ingested
- 30 Nov 2026, 19:09:38 UTC
- Source record
- Official CVE record