Incorrect Behavior Order: Validate Before Canonicalize vulnerability in leandrocp mdex allows an attacker who controls
Source GCVE Database
Not known to be exploited · CVSS 2.1 Low : upgrade to 0.15.0 when convenient.
Data as of 1 Dec 2026, 01:15 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 2.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:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| leandrocpmdex | Affected
| Fixed in
|
| mdexleandrocp/mdex | Affected
| Fixed in
|
Hexmdexpkg:hex/mdexOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade mdex to version 0.15.0 or later where this issue is fixed. Applications should also ensure that any URLs inserted into href or src attributes undergo proper normalization and validation independent of mdex. Avoid relying solely on mdex's URL checks for security.
Description
A vulnerability in mdex versions from 0.13.2 before 0.15.0 allows an attacker controlling Markdown input to inject javascript: and data: URLs into Quill Delta output by exploiting improper URL normalization before validation. The issue arises because the dangerous-URL check is performed on entity-decoded URLs without canonicalizing them as browsers do, enabling bypass via control characters such as tabs. Applications that directly place Delta link or image values into href or src attributes without their own URL checks are vulnerable. The default Quill editor is not affected as it re-sanitizes link protocols.
References
- nvd.nist.gov/vuln/detail/CVE-2026-136129 (opens in a new tab)
- github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f (opens in a new tab)
- github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009 (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-136129.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-136129 (opens in a new tab)