{
  "id": "CVE-2026-59887",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59887",
  "published_at": "2026-07-08T15:58:12.114Z",
  "title": "linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text",
  "vendor": "markdown-it",
  "product": "linkify-it",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "linkify-it is a links recognition library with full Unicode support. Prior to 5.0.2, the mailto: schema validator used by .test() and .match() can be invoked at every mailto: occurrence and scan the remaining input through src_email_name in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2.",
  "cwe": "CWE-407",
  "cpes": [
    "cpe:2.3:a:markdown-it:linkify-it:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "markdown-it",
        "product": "linkify-it",
        "ranges": [
          "\u003c 5.0.2"
        ],
        "fixed_in": [
          "5.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade linkify-it to 5.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/markdown-it/linkify-it/releases/tag/5.0.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
