~ / search / GHSA-38c4-r59v-3vqw

GHSA-38c4-r59v-3vqw

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-2327

Packages

EcosystemPackageAffectedFixed in
npm markdown-it >= 13.0.0, < 14.1.1 14.1.1

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.