Security mailing lists by PureSourceCode

CVE-2026-136129

LOW 2.1CVSS 4.0

Dangerous 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm mdex
cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
>= 0.13.2, < 0.15.0 0.15.0
CVE List https://github.com leandrocp/mdex
cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
>= 2817147f5b87ce7186aa604c9ee72499485b8f2f, < 75e735a26859f93c36f10d17a3119f856fe69009 75e735a26859f93c36f10d17a3119f856fe69009
OSV Hex mdex >= 0.13.2, < 0.15.0 0.15.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.