Skip to main content
← All vulnerabilities
CVE-2026-59887GHSA-V245-V573-V5VM

linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • markdown-it linkify-it

    fixed in 5.0.2

  • linkify-itnpm

    fixed in 5.0.2

References 3

GitHub · markdown-it/linkify-it