Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Content Spoofing
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium : 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 | 5.1 |
|---|
- Patch
- Available – fixed in 0.15.0, 22a0c7b6614f84648e72699f3e426f20b7f04ba6
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/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 22a0c7b6614f84648e72699f3e426f20b7f04ba6.
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
If you cannot patch yet, avoid converting untrusted Markdown input to Slack mrkdwn using affected mdex versions or implement manual sanitization and escaping of code blocks to prevent premature closure and injection of live mrkdwn content.
Description
A vulnerability in the mdex library (versions from 0.13.1 before 0.15.0) allows content spoofing via improper neutralization of escape, meta, or control sequences. Specifically, the Slack code block rendering in MDEx.to_slack/2 can be manipulated by an attacker controlling Markdown input to inject Slack mentions and links with misleading visible labels. This occurs because code blocks opened with four backticks or tildes containing three backticks close the code block early, causing subsequent content to be parsed as live Slack mrkdwn without proper escaping or URL filtering.
References
- nvd.nist.gov/vuln/detail/CVE-2026-136268 (opens in a new tab)
- github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c (opens in a new tab)
- github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6 (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-136268.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-136268 (opens in a new tab)