Advisory

GHSA-38c4-r59v-3vqw

Also known as: CVE-2026-2327

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-12 06:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

markdown-it

npm · All systems

Affected

  • introduced 13.0.0, fixed 14.1.1 (semver)

Fixed versions

14.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences