MEDIUM 5.3 npm

markdown-it is has a Regular Expression Denial of Service (ReDoS)

GHSA-38c4-r59v-3vqw · CVE-2026-2327

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Versions of the package markdown-it from 13.0.0 and before 14.1.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of the regex /*+$/ in the linkify function. An attacker can supply a long sequence of * characters followed by a non-matching character, which triggers excessive backtracking and may lead to a denial-of-service condition.

Ready to move

Start Securing

Free, no credit card | First findings in minutes