CVE-2026-59887 linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
markdown-it
linkify-it
영향 받는 버전
- 5.0.2 미만
해결 버전
- 5.0.2 이상