CVE-2026-136129
LOW 2.1CVSS 4.0Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)
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.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Received
- Weakness
- CWE-180
- Also known as
- EEF-CVE-2026-136129
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-136129JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | LOW 2.1 | 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 |
| CVE List | EEF | CVSS 4.0 | LOW 2.1 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | mdexcpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:* |
>= 0.13.2, < 0.15.0 | 0.15.0 |
| CVE List | https://github.com | leandrocp/mdexcpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:* |
>= 2817147f5b87ce7186aa604c9ee72499485b8f2f, < 75e735a26859f93c36f10d17a3119f856fe69009 | 75e735a26859f93c36f10d17a3119f856fe69009 |
| OSV | Hex | mdex | >= 0.13.2, < 0.15.0 | 0.15.0 |
References
- https://cna.erlef.org/cves/CVE-2026-136129.html · related, third-party-advisory, WEB
- https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f · related, WEB
- https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009 · patch, FIX
- https://osv.dev/vulnerability/EEF-CVE-2026-136129 · related
- https://hex.pm/packages/mdex · PACKAGE
History
- 30 Nov 2026 19:42 UTC · CVE List: updated (other details)
- 30 Nov 2026 19:41 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 19:01 UTC · OSV: first stored (published 30 Nov 2026)
- 30 Nov 2026 18:49 UTC · CVE List: first stored (published 30 Nov 2026)