cve.bz

CVE-2026-136130 Slack mention injection through link destinations in MDEx.to_slack/2

2.1 lowFix available

Low (2.1) in leandrocp mdex. Fixed in mdex 0.15.0.

On this page
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.

Severity

CVSS 4.0

2.1 low
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
CWE
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Published
Assigned by
EEF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • mdex (Hex): fixed in 0.15.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-136130 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-136130?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-136130?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-136130 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
leandrocp mdexfrom 0.13.1 before 0.15.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-136130Hexmdex>=0.13.1 <0.15.00.15.0
EEF-CVE-2026-136130v0.14.9, v0.14.8, v0.14.7, v0.14.6, v0.14.5 and 10 moreno fix published

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-134 Email Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON