{"cve":"CVE-2026-59887","nvd":{"published":"2026-07-08T17:17:26.883","modified":"2026-10-25T17:10:00.197","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-407"],"references":["https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe","https://github.com/markdown-it/linkify-it/releases/tag/5.0.2","https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm","https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm"],"products":["markdown-it:linkify-it"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59887","score":0.00644,"percentile":0.50571,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-v245-v573-v5vm","url":"https://osv.dev/vulnerability/GHSA-v245-v573-v5vm","summary":"linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text","modified":"2026-09-10T03:51:12.054179363Z","packages":[{"ecosystem":"npm","name":"linkify-it","purl":"pkg:npm/linkify-it","ranges":["<5.0.2"],"fixed":["5.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}