


Perceptive Security
SOC/SIEM Consultancy

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…
Published:
7 juli 2026 om 22:00:00
Alert date:
8 juli 2026 om 18:04:27
Source:
nvd.nist.gov
Web Technologies, Supply Chain & Dependencies
The linkify-it JavaScript library, used for link recognition with full Unicode support, contains a ReDoS-style vulnerability prior to version 5.0.2. The mailto: schema validator invoked by .test() and .match() methods can be triggered at every mailto: occurrence in input text, causing it to scan the remaining input via src_email_name in lib/re.mjs. This results in O(n^2) CPU consumption when processing crafted user-supplied text, making it susceptible to denial-of-service attacks. The vulnerability affects all versions of linkify-it prior to 5.0.2. A fix has been released in version 5.0.2 of the library. The issue is tracked under CVE-2026-59887 and has an associated GitHub Security Advisory GHSA-v245-v573-v5vm. Users and maintainers of projects depending on linkify-it should upgrade to version 5.0.2 or later immediately.
Technical details
Mitigation steps:
Affected products:
linkify-it
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-59887
https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe
https://github.com/markdown-it/linkify-it/releases/tag/5.0.2
https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
