VYPR
High severityNVD Advisory· Published Jul 8, 2026· Updated Jul 9, 2026

linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text

CVE-2026-59887

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
linkify-itnpm
< 5.0.25.0.2

Affected products

9

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.