markdown-it is has a Regular Expression Denial of Service (ReDoS)
Moderate severity
GitHub Reviewed
Published
Feb 12, 2026
to the GitHub Advisory Database
•
Updated Feb 13, 2026
Description
Published by the National Vulnerability Database
Feb 12, 2026
Published to the GitHub Advisory Database
Feb 12, 2026
Reviewed
Feb 13, 2026
Last updated
Feb 13, 2026
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.
References