Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed20856
- https://github.com/markdown-it/linkify-it/releases/tag/5.0.2
- https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5v
- https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5v
FAQ
What is CVE-2026-59887?
CVE-2026-59887 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 r...
How severe is CVE-2026-59887?
CVE-2026-59887 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59887?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.