Skip to main content
VulnerabilityPublished

CVE-2026-136129: leandrocp mdex · Incorrect Behavior Order: Validate Before Canonicalize

Affects leandrocp mdexSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.1 Low : upgrade to 0.15.0 when convenient.

Data as of 30 Nov 2026, 19:00 UTC

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.02.1
Patch
Available – fixed in 0.15.0, 75e735a26859f93c36f10d17a3119f856fe69009
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade mdex to 0.15.0; mdex to 75e735a26859f93c36f10d17a3119f856fe69009.

Affected software

ProductAffectedFixed in
leandrocpmdexAffected
  • >=0.13.2 <0.15.0
Fixed in
  • 0.15.0
mdexleandrocp/mdexAffected
  • ≥ 2817147f5b87ce7186aa604c9ee72499485b8f2f, < 75e735a26859f93c36f10d17a3119f856fe69009
Fixed in
  • 75e735a26859f93c36f10d17a3119f856fe69009
Hexmdexpkg:hex/mdexOther threatsAffected
  • >=0.13.2 <0.15.0
Fixed in
  • 0.15.0

CPE configurations (1)

  • cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…