Regular Expression Denial of Service Vulnerability in markdown-it by npm
CVE-2026-2327

6.9MEDIUM

Key Information:

Vendor

npm

Vendor
CVE Published:
12 February 2026

What is CVE-2026-2327?

The markdown-it package, particularly versions from 13.0.0 and before 14.1.1, is vulnerable to a Regular Expression Denial of Service (ReDoS) attack. This issue arises from the regex used in its linkify function: /+$. An attacker can exploit this vulnerability by providing a long string of asterisks () followed by a non-matching character. This causes excessive backtracking in the regex engine, potentially resulting in a denial-of-service condition that can interrupt the normal functioning of applications utilizing this package.

Affected Version(s)

markdown-it 13.0.0 < 14.1.1

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Duc Le Trung
.