Skip to main content
VulnerabilityPublished

CVE-2026-2327: markdown-it · Regular Expression Denial of Service

Affects markdown-itSource CVE Database V5

0

Public exploit available · CVSS 6.9 Medium : upgrade to 14.1.1 as a priority.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 14.1.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade markdown-it to 14.1.1.

Affected software

ProductAffectedFixed in
markdown-itAffected
  • >=13.0.0 <14.1.1
Fixed in
  • 14.1.1

AI-suggested

To mitigate CVE-2026-2327, organizations should upgrade markdown-it to a version later than 14.1.1 where the vulnerable regex has been corrected. If upgrading is not immediately feasible, applying input validation to restrict the length and content of markdown input can reduce the risk of triggering the ReDoS condition. Implementing rate limiting and request throttling on endpoints that process markdown content can help mitigate the impact of potential attacks. Additionally, monitoring application performance and logs for unusual CPU spikes or slowdowns during markdown processing can provide early detection of exploitation attempts. Developers should review and test any custom regex patterns used in markdown processing to avoid similar ReDoS vulnerabilities. Finally, incorporating security testing tools that detect ReDoS patterns during development can prevent future occurrences.

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.

References

Community reviews

Loading reviews…