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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v245-v573-v5vm | linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 10 Jul 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Markdown-it
Markdown-it linkify-it |
|
| Vendors & Products |
Markdown-it
Markdown-it linkify-it |
Thu, 09 Jul 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 08 Jul 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text | |
| Weaknesses | CWE-407 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-07-09T14:41:02.113Z
Reserved: 2026-07-07T16:40:07.983Z
Link: CVE-2026-59887
Updated: 2026-07-09T14:40:49.708Z
No data.
No data.
OpenCVE Enrichment
Updated: 2026-07-23T11:45:02Z
Weaknesses
Github GHSA