Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 79%

CWE-1333: Inefficient Regular Expression Complexity in markdown-it linkify-it (CVE-2026-48801)

0
High
Published: 07/14/2026 (07/14/2026, 20:03:56 UTC)
Source: GCVE Database
Vendor/Project: markdown-it
Product: linkify-it

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

npmghsa
linkify-it
Affected versions
<5.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 07:56:37 UTC

Technical Analysis

LinkifyIt versions before 5.0.1 contain a vulnerability in the match() API function where the scan loop repeatedly slices the input string and performs unanchored regex searches on progressively shorter substrings. This results in O(N²) algorithmic complexity for inputs with many fuzzy links or emails, causing high CPU consumption and denial-of-service conditions in applications using linkify-it for Markdown rendering.

Potential Impact

The vulnerability can cause denial-of-service due to high CPU usage when processing specially crafted inputs containing many fuzzy links or emails. This affects services that use linkify-it to render untrusted Markdown with linkify enabled, potentially degrading service availability.

Mitigation Recommendations

Upgrade to linkify-it version 5.0.1 or later, where this issue is fixed. Versions prior to 5.0.1 are vulnerable. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-22p9-wv53-3rq4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-48801"]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a3ef76a27e9c79719fee800

Added to database: 06/26/2026, 22:04:26 UTC

Last enriched: 07/15/2026, 07:56:37 UTC

Last updated: 07/31/2026, 20:25:37 UTC

Views: 116

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses