{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0be090a78dbe587a90814a7481b039d10996863c"
                  },
                  {
                    "fixed": "22a0c7b6614f84648e72699f3e426f20b7f04ba6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "0be090a78dbe587a90814a7481b039d10996863c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "22a0c7b6614f84648e72699f3e426f20b7f04ba6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0be090a78dbe587a90814a7481b039d10996863c"
            },
            {
              "fixed": "22a0c7b6614f84648e72699f3e426f20b7f04ba6"
            },
            {
              "fixed": "0be090a78dbe587a90814a7481b039d10996863c"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-150"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136130.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.13.1"
              },
              {
                "fixed": "0.15.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "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 \u003curl|label\u003e 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 \u003c!channel|label\u003e or \u003c@U012AB3CD|label\u003e, 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 \u0026, \u003c, \u003e and |.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0.",
  "id": "CVE-2026-136130",
  "modified": "2026-11-30T19:45:28.983168072Z",
  "published": "2026-11-30T18:44:07.809Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://cna.erlef.org/cves/CVE-2026-136130.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136130.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/leandrocp/mdex"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136130"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-136130"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Slack mention injection through link destinations in MDEx.to_slack/2"
}