CVE-2026-59887
linkify-it is a links recognition library with full Unicode …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe
- github.com/markdown-it/linkify-it/releases/tag/5.0.2
- github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm
- nvd.nist.gov/vuln/detail/CVE-2026-59887
- github.com/advisories/GHSA-v245-v573-v5vm
- nvd.nist.gov/vuln/detail/CVE-2026-59887
- cve.org/CVERecord?id=CVE-2026-59887
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.