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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-407"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59887.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:markdown-it:linkify-it:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.0.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "105e5d77f7d119871d2b2d86ed208568eb3e7ffe"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "5.0.2",
"range": [
{
"fixed": "50a0c914f834b201cab25ff4faefd1f832b37332"
}
],
"source": "REFERENCES_TAG"
}
]
}