# CVE-2026-136129: Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-11-30T18:44:40.706Z
- Modified: 2026-11-30T19:17:51.277Z
- Also known as: EEF-CVE-2026-136129
- Weaknesses: CWE-180
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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&#9;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.

(As written by CVE List.)

## Affected

- mdex: from 0.13.2 before 0.15.0
- leandrocp/mdex: from 2817147f5b87ce7186aa604c9ee72499485b8f2f before 75e735a26859f93c36f10d17a3119f856fe69009
- mdex (Hex): from 0.13.2 before 0.15.0
- https://github.com/leandrocp/mdex: from 2817147f5b87ce7186aa604c9ee72499485b8f2f before 75e735a26859f93c36f10d17a3119f856fe69009

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- Erlang Ecosystem Foundation: CVSS:4.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`

## References

- <https://cna.erlef.org/cves/CVE-2026-136129.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-136129> (related)
- <https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f> (related, web)
- <https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009> (fix, patch)
- <https://hex.pm/packages/mdex> (package)

## Sources

- CVE List: [CVE-2026-136129](https://www.cve.org/CVERecord?id=CVE-2026-136129), CVE Terms of Use, modified 2026-11-30
- Erlang Ecosystem Foundation: [EEF-CVE-2026-136129](https://osv.dev/vulnerability/EEF-CVE-2026-136129), CC-BY-4.0, modified 2026-11-30
- NVD: [CVE-2026-136129](https://nvd.nist.gov/vuln/detail/CVE-2026-136129), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-136129 · Whole record: https://cve.day/CVE-2026-136129.json · Rebuilt by cve.day 2026-11-30T19:32:14.778Z
