Skip to main content
← All vulnerabilities
CVE-2026-48801GHSA-22P9-WV53-3RQ4

linkify-it: Quadratic algorithmic complexity in LinkifyIt#match scan loop

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.1
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.1, LinkifyIt.prototype.match, the package's primary public API, has O(N²) algorithmic complexity for inputs containing many fuzzy links or emails because the JavaScript-level scan loop re-slices input and re-runs unanchored regex searches on progressively shorter tails. Any service that synchronously renders untrusted Markdown with linkify:true on a request hot path can inherit a worker-process denial of service triggerable by a tens-of-KB request body. This issue is fixed in version 5.0.1.

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.1

  • linkify-itnpm

    fixed in 5.0.1

References 2

GitHub · markdown-it/linkify-it