CVE-2026-48801 Details
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.
A denial-of-service vulnerability has been identified in the Linkify-It library, prior to version 5.0.1. The issue arises in the primary public API, LinkifyIt.prototype.match, which exhibits O(N²) algorithmic complexity when processing inputs with numerous fuzzy links or email addresses. This inefficiency is caused by the JavaScript-level scan loop, which repeatedly slices the input and executes unanchored regular expression searches on progressively shorter tails. As a result, services that synchronously render untrusted Markdown with linkify enabled, particularly on high-traffic request paths, can experience significant performance degradation. The vulnerability is effectively a worker-process denial-of-service, triggered by a request body of just a few tens of kilobytes.
Users can upgrade to Linkify-It version 5.0.1 or later, where this vulnerability has been fixed. Additionally, services using the Markdown-It library should be aware of this vulnerability, as it can be exploited through Markdown rendering with linkify enabled.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/markdown-it/linkify-it/commit/6be6d15e0641bf1daeaa977d500cabc743166159 | [email protected] | Patch |
| https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| markdown-it linkify-it | < 5.0.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 6, 2026 | Initial Analysis | [email protected] |
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | New CVE Received | [email protected] |