{"id":"CVE-2026-59887","revision":"81ab3cd78bc444e8b77e0836d068fa81","records":[{"revision":"81ab3cd78bc444e8b77e0836d068fa81","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59887","aliases":[],"title":"linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text","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.","state":0,"publishedAt":"2026-07-08T15:58:12.114+00:00","modifiedAt":"2026-07-09T14:41:02.113+00:00","affected":[{"ecosystem":"Vendor product","name":"linkify-it","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"markdown-it\",\n                    \"product\": \"linkify-it\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 5.0.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"HIGH"}],"references":["https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm","https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe","https://github.com/markdown-it/linkify-it/releases/tag/5.0.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59887","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59887","identifiers":["CVE-2026-59887"]},"retained":false,"historicalAffected":[]}],"coverage":[]}