{"api_version":"1","generated_at":"2026-12-01T14:13:24+00:00","cve":"CVE-2026-136130","urls":{"html":"https://cve.report/CVE-2026-136130","api":"https://cve.report/api/cve/CVE-2026-136130.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-136130","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-136130"},"summary":{"title":"Slack mention injection through link destinations in MDEx.to_slack/2","description":"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.\n\nAnyone 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 |.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0.","state":"PUBLISHED","assigner":"EEF","published_at":"2026-11-30 19:17:51","updated_at":"2026-11-30 19:17:51"},"problem_types":["CWE-150","CWE-150 CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences"],"metrics":[{"version":"4.0","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","score":"2.1","severity":"LOW","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":2.1,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"2.1","severity":"LOW","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6","name":"https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c","name":"https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-136130","name":"https://osv.dev/vulnerability/EEF-CVE-2026-136130","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cna.erlef.org/cves/CVE-2026-136130.html","name":"https://cna.erlef.org/cves/CVE-2026-136130.html","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136130","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136130","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"leandrocp","product":"mdex","version":"affected 0.13.1 0.15.0 semver","platforms":[]},{"source":"CNA","vendor":"leandrocp","product":"mdex","version":"affected 0be090a78dbe587a90814a7481b039d10996863c 22a0c7b6614f84648e72699f3e426f20b7f04ba6 git","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Leandro Pereira","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.MDEx'","'Elixir.MDEx.SlackConverter'"],"packageName":"mdex","packageURL":"pkg:hex/mdex","product":"mdex","programFiles":["lib/mdex.ex","lib/mdex/slack_converter.ex"],"programRoutines":[{"name":"'Elixir.MDEx':to_slack/2"},{"name":"'Elixir.MDEx.SlackConverter':convert/2"},{"name":"'Elixir.MDEx.SlackConverter':render_node/2"},{"name":"'Elixir.MDEx.SlackConverter':render_url/2"}],"repo":"https://github.com/leandrocp/mdex","vendor":"leandrocp","versions":[{"lessThan":"0.15.0","status":"affected","version":"0.13.1","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.MDEx'","'Elixir.MDEx.SlackConverter'"],"packageName":"leandrocp/mdex","packageURL":"pkg:github/leandrocp/mdex","product":"mdex","programFiles":["lib/mdex.ex","lib/mdex/slack_converter.ex"],"programRoutines":[{"name":"'Elixir.MDEx':to_slack/2"},{"name":"'Elixir.MDEx.SlackConverter':convert/2"},{"name":"'Elixir.MDEx.SlackConverter':render_node/2"},{"name":"'Elixir.MDEx.SlackConverter':render_url/2"}],"repo":"https://github.com/leandrocp/mdex","vendor":"leandrocp","versions":[{"lessThan":"22a0c7b6614f84648e72699f3e426f20b7f04ba6","status":"affected","version":"0be090a78dbe587a90814a7481b039d10996863c","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*","versionEndExcluding":"0.15.0","versionStartIncluding":"0.13.1","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Leandro Pereira"}],"dateAssigned":"2026-11-30T16:55:58.000Z","datePublic":"2026-11-30T18:44:07.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Slack mention and broadcast injection via link, image, and wikilink destinations. <code>MDEx.to_slack/2</code> renders these nodes as Slack <code>&lt;url|label&gt;</code> links and writes the destination between the angle brackets without rejecting Slack control prefixes. A destination such as <code>!channel</code>, <code>!here</code>, <code>@U012AB3CD</code> or <code>!subteam^ID</code> therefore comes out as <code>&lt;!channel|label&gt;</code> or <code>&lt;@U012AB3CD|label&gt;</code>, which Slack treats as a broadcast or a user or group mention. The same sequences in plain text are escaped.</p>\n<p>Anyone whose Markdown an application forwards to Slack through <code>MDEx.to_slack/2</code> (user content, tickets, LLM output) can make the posting bot notify a whole channel or ping arbitrary users and groups. In <code>lib/mdex/slack_converter.ex</code>, <code>render_url/2</code> only drops URLs that the dangerous-URL check flags, and <code>escape_link_part/1</code> only escapes <code>&amp;</code>, <code>&lt;</code>, <code>&gt;</code> and <code>|</code>.</p>\n<p>This issue affects mdex: from 0.13.1 before 0.15.0.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\nAnyone 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 `|`.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."}],"value":"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.\n\nAnyone 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 |.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."}],"impacts":[{"capecId":"CAPEC-6","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An attacker who controls Markdown that an application posts to Slack via <code>MDEx.to_slack/2</code> can trigger <code>@channel</code>/<code>@here</code> broadcasts and ping arbitrary users or user groups from the application's bot.</p>"},{"base64":false,"type":"text/markdown","value":"An attacker who controls Markdown that an application posts to Slack via `MDEx.to_slack/2` can trigger `@channel`/`@here` broadcasts and ping arbitrary users or user groups from the application's bot."}],"value":"An attacker who controls Markdown that an application posts to Slack via MDEx.to_slack/2 can trigger @channel/@here broadcasts and ping arbitrary users or user groups from the application's bot."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-150","description":"CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-30T18:44:07.809Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"EEF CNA record for CVE-2026-136130","tags":["related","third-party-advisory"],"url":"https://cna.erlef.org/cves/CVE-2026-136130.html"},{"name":"OSV record EEF-CVE-2026-136130","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-136130"},{"name":"Introducing commit 0be090a in leandrocp/mdex","tags":["related"],"url":"https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c"},{"name":"Fix commit 22a0c7b in leandrocp/mdex","tags":["patch"],"url":"https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6"}],"source":{"discovery":"INTERNAL"},"title":"Slack mention injection through link destinations in MDEx.to_slack/2","x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>Call <code>MDEx.to_slack!(\"plain &lt;!channel&gt; [read this](!channel) ![logo](!here) [ping](@U012AB3CD) [grp](!subteam^SAZ94GDB8)\")</code>.</li>\n<li>Observe the output <code>plain &amp;lt;!channel&amp;gt; &lt;!channel|read this&gt; &lt;!here|logo&gt; &lt;@U012AB3CD|ping&gt; &lt;!subteam^SAZ94GDB8|grp&gt;</code>: the plain-text sequence is escaped, the link and image destinations are emitted as live Slack control sequences.</li>\n<li>With <code>extension: [wikilinks_title_after_pipe: true]</code>, <code>[[!channel|x]]</code> renders as <code>&lt;!channel|x&gt;</code>.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. Call `MDEx.to_slack!(\"plain <!channel> [read this](!channel) ![logo](!here) [ping](@U012AB3CD) [grp](!subteam^SAZ94GDB8)\")`.\n2. Observe the output `plain &lt;!channel&gt; <!channel|read this> <!here|logo> <@U012AB3CD|ping> <!subteam^SAZ94GDB8|grp>`: the plain-text sequence is escaped, the link and image destinations are emitted as live Slack control sequences.\n3. With `extension: [wikilinks_title_after_pipe: true]`, `[[!channel|x]]` renders as `<!channel|x>`."}],"value":"* Call MDEx.to_slack!(\"plain <!channel> [read this](!channel) ![logo](!here) [ping](@U012AB3CD) [grp](!subteam^SAZ94GDB8)\").\n* Observe the output plain &lt;!channel&gt; <!channel|read this> <!here|logo> <@U012AB3CD|ping> <!subteam^SAZ94GDB8|grp>: the plain-text sequence is escaped, the link and image destinations are emitted as live Slack control sequences.\n* With extension: [wikilinks_title_after_pipe: true], [[!channel|x]] renders as <!channel|x>."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-136130","datePublished":"2026-11-30T18:44:07.809Z","dateReserved":"2026-11-30T16:55:36.130Z","dateUpdated":"2026-11-30T18:44:07.809Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 19:17:51","lastModifiedDate":"2026-11-30 19:17:51","problem_types":["CWE-150","CWE-150 CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences"],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":2.1,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"136130","Ordinal":"1","Title":"Slack mention injection through link destinations in MDEx.to_sla","CVE":"CVE-2026-136130","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"136130","Ordinal":"1","NoteData":"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.\n\nAnyone 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 |.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0.","Type":"Description","Title":"Slack mention injection through link destinations in MDEx.to_sla"}]}}}