Skip to main content

MDEx EUVDEUVD-2026-139643

| CVE-2026-136130 LOW
Improper Neutralization of Escape, Meta, or Control Sequences (CWE-150)
2026-11-30 6b3ad84c-e1a6-4bf7-a703-f496b71e49db GHSA-2hxx-vmqq-8qqg
2.1
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit Markdown with crafted link/wikilink destination
  2. Exploit
    Destination is a Slack control prefix (!channel, @U…, !subteam^ID)
  3. Execution
    MDEx.to_slack/2 emits unescaped <!channel|label>
  4. Impact
    Bot posts to Slack, firing broadcast or mention

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Escape character neutralization
Exploitation Conditions

Exploitation requires that the application call MDEx.to_slack/2 (or to_slack!/2) on attacker-influenced Markdown and post the output to Slack via a bot or webhook; affected mdex versions are 0.13.1 up to but not including 0.15.0. The attacker must supply a link, image, or wikilink whose destination is a Slack control sequence - !channel, !here, @U012AB3CD, or !subteam^ID - which mdex writes between the <…|label> brackets without rejecting the control prefix. Limiting factors that reduce real-world risk: only deployments that actually use the Slack-conversion path (a feature newly introduced in this version range) are exposed; the same sequences in plain text are correctly escaped; and the impact is confined to notification/mention injection with no confidentiality loss, code execution, or denial of service. No authentication or user interaction is needed to trigger the broadcast once the content is posted.

Impact

All signals point to a low-priority, low-severity issue. The vendor (Erlang Ecosystem Foundation CNA) scored it CVSS 4.0 base 2.1 (Low) with vulnerable-system impact limited to integrity (VI:L) and a low subsequent-system integrity effect on Slack (SI:L); confidentiality and availability are untouched (VC/VA/SC/SA:N). The vuln.today decision label is 'monitor', not act_now or emergency. There is no CISA KEV listing and no EPSS score was supplied, so there is no evidence of active or probable exploitation; the only references are the vendor advisory, the OSV record, and the two GitHub fix commits - none is working exploit code. The one notable conflict is the attack vector: the vendor chose AV:L/AT:P, implying local/constrained access, but the description states the trigger is any Markdown an application forwards to Slack (user content, tickets, LLM output), which in most real deployments arrives remotely and unauthenticated - so I assess AV:N and flag the divergence for verification with the vendor. Even under the more aggressive AV:N reading, the realistic impact is notification/mention spam and social-engineering pretext (making a trusted bot @-mention users or broadcast @channel/@here), not code execution or data disclosure. Net: a genuine but minor integrity/abuse bug, correctly triaged as monitor-and-patch rather than an emergency.

Exploit ScenarioDerived

An attacker submits attacker-controlled Markdown - for example a support ticket or LLM-generated reply containing a link such as [click](!channel) or [ping](@U012AB3CD) - to an application that renders it with MDEx.to_slack/2 and posts the result through a Slack bot. Because render_url/2 writes the destination between angle brackets and escape_link_part/1 only neutralizes &, <, > and |, the output becomes <!channel|click> or <@U012AB3CD|ping>, which Slack interprets as a broadcast or a user/group mention, so the trusted bot notifies a whole channel or pings arbitrary users and subteams. No public exploit code is identified, but the mechanism is fully described in the advisory and the fix commits.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Markdown-to-Slack rendering in MDEx 0.13.1 through 0.14.x lets attacker-influenced link, image, and wikilink destinations smuggle Slack control prefixes into generated mrkdwn, so a bot posting the converted text can broadcast to a whole channel or ping arbitrary users and groups. The flaw sits in MDEx.to_slack/2, which writes the destination between the angle brackets of a Slack <url|label> link without rejecting prefixes such as !channel, !here, @U012AB3CD or !subteam^ID, even though the same sequences are escaped in plain text. Only deployments that route untrusted Markdown (user content, tickets, LLM output) through the Slack converter and post the result with a bot or webhook are exposed; impact is limited to notification and mention injection, and no public exploit code or active exploitation is identified at time of analysis.

RemediationAI

Upgrade MDEx to 0.15.0 or later, the first version outside the affected range (from 0.13.1 before 0.15.0), which incorporates the fix in commits 22a0c7b6614f84648e72699f3e426f20b7f04ba6 and 0be090a78dbe587a90814a7481b039d10996863c per the advisory at https://cna.erlef.org/cves/CVE-2026-136130.html. If upgrading cannot be done immediately, avoid calling MDEx.to_slack/2 or to_slack!/2 on untrusted Markdown, or pre-sanitize link, image, and wikilink destinations so they cannot begin with ! or @ (for example rewrite them to a safe placeholder or drop the Markdown link syntax before conversion); the trade-off is that legitimate links to Slack-style destinations are also altered, and custom sanitizers must cover every node type that emits a destination, not just inline links. A further compensating control is to scope the posting bot's token or webhook so that it cannot mention @channel, @here or user groups - Slack restricts !channel and !here to certain permission levels and app scopes, and reducing the bot to a channel with mention restrictions limits the blast radius - but this does not remove the injection itself and depends on workspace configuration. Detection can focus on converted mrkdwn containing <!channel, <!here, <@, or <!subteam^ in link positions.

Affected VersionsENISA

mdex 0.13.1 <0.15.0
mdex 0be090a78dbe587a90814a7481b039d10996863c <22a0c7b6614f84648e72699f3e426f20b7f04ba6

Affected Packages

euvd mdex fix: 0.15.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MDEx is an Elixir Markdown library built on the comrak Rust parser; version 0.13.1 introduced a Slack converter (MDEx.to_slack/2 and to_slack!/2, backed by MDEx.SlackConverter in lib/mdex/slack_converter.ex) that re-renders a parsed document into Slack's mrkdwn dialect, where links take the form <url|label>, bold is *text* and headings become bold text. The root cause is CWE-150, improper neutralization of escape, meta, or control sequences: render_url/2 only discards destinations flagged by the dangerous-URL check, and escape_link_part/1 escapes just &, <, > and |. Slack additionally treats text inside angle brackets beginning with ! or @ as special commands, so a destination beginning with !channel, !here, @U012AB3CD, or !subteam^ID is interpreted by Slack as a broadcast or a user/group mention rather than as a URL - producing output like <!channel|label>. Plain-text occurrences of the same sequences are escaped by the converter, so the gap is specific to link, image, and wikilink destination handling. The upstream fix lands in the commits that add the converter with prefix rejection; the audited vector places the attack over the network with no privileges or user interaction, scope changed, and low integrity impact only.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 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
vuln.today AI 5.8 MEDIUM

Attacker-supplied Markdown is normally delivered remotely with no privileges or interaction (AV:N/PR:N/UI:N); impact is integrity-only mention/broadcast injection affecting the downstream Slack workspace, hence S:C and I:L with C:A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 30, 2026 - 20:05 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
Elixir Markdown library; niche ecosystem and newly added Slack-conversion feature
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy