CVE-2026-59887
CVE-2026-59887 · linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 7.5 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
linkify-it
- Versions
- < 5.0.2: Affected
No fix published
linkify-it npm
- Affected ranges
- SEMVER: < 5.0.2
Update to 5.0.2