Slack mention injection through link destinations in MDEx.to_slack/2
CVE-2026-136130Published 30 Nov 2026, 18:44 UTC
Real-world risk
0.6/ 10Low
Routine
If the vulnerable configuration applies to you: 1.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Slack mention and broadcast injection via link, image, and wikilink destinations. MDEx.to_slack/2 renders these nodes as Slack <url|label> links and writes the destination between the angle brackets without rejecting Slack control prefixes. A destination such as !channel, !here, @U012AB3CD or !subteam^ID therefore comes out as <!channel|label> or <@U012AB3CD|label>, which Slack treats as a broadcast or a user or group mention. The same sequences in plain text are escaped. Anyone whose Markdown an application forwards to Slack through MDEx.to_slack/2 (user content, tickets, LLM output) can make the posting bot notify a whole channel or ping arbitrary users and groups. In lib/mdex/slack_converter.ex, render_url/2 only drops URLs that the dangerous-URL check flags, and escape_link_part/1 only escapes &, <, > and |. This issue affects mdex: from 0.13.1 before 0.15.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| mdexNiche | >= 0.13.1, < 0.15.0 | 0.15.0 |
What to do
Update to a fixed version: 0.15.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 19), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.225 × threat 0.850.574
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
CWE-150
References
- https://cna.erlef.org/cves/CVE-2026-136130.htmlrelated, third-party-advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-136130related
- https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863crelated
- https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6patch
- CVE-2026-136130 on CVE.org