PT-2026-163921

CVE-2026-136129

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

CVSS 4.0
2.1
Low
MetricsAV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions leandrocp mdex versions 0.13.2 through 0.14.x
Description An issue exists where an attacker controlling Markdown input can inject javascript: and data: URLs into Quill Delta output using entity-encoded control characters. The function MDEx.to delta/2 is intended to blank dangerous URLs, but the render url/2 function in lib/mdex/delta converter.ex performs prefix checks on entity-decoded URLs without first normalizing them. Consequently, destinations containing control characters (such as tabs, carriage returns, or line feeds) bypass the check and are emitted unchanged. Since browsers strip these characters during URL parsing, the resulting value executes as a javascript: link. This affects applications that place Delta link or image values directly into href or src attributes without performing their own URL validation.
Recommendations Update leandrocp mdex to version 0.15.0 or later. As a temporary mitigation, restrict the use of the MDEx.to delta/2 function for untrusted Markdown input or implement a secondary URL scheme check before rendering Delta link and image values into HTML attributes.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾