{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-136130",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-11-30T16:55:36.130Z",
        "datePublished": "2026-11-30T18:44:07.809Z",
        "dateUpdated": "2026-12-03T18:04:49.751Z"
    },
    "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": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-11-30T18:44:07.809Z"
            },
            "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>."
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-03T17:11:59.911814Z",
                                "id": "CVE-2026-136130",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-03T18:04:49.751Z"
                }
            }
        ]
    }
}