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.
References
| Link | Resource |
|---|---|
| https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe | Patch |
| https://github.com/markdown-it/linkify-it/releases/tag/5.0.2 | Release Notes |
| https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm | Exploit Mitigation Vendor Advisory |
| https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm | Exploit Mitigation Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-07-08 17:17
Updated : 2026-08-26 16:35
NVD link : CVE-2026-59887
Mitre link : CVE-2026-59887
CVE.ORG link : CVE-2026-59887
JSON object : View
Products Affected
markdown-it
- linkify-it
CWE
CWE-407
Inefficient Algorithmic Complexity
