Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. markdown-it
  4. ›
  5. CVE-2026-2327

CVE-2026-2327: markdown-it is has a Regular Expression Denial of Service (ReDoS)

February 12, 2026 (updated February 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

  • gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917
  • github.com/advisories/GHSA-38c4-r59v-3vqw
  • github.com/markdown-it/markdown-it
  • github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs
  • github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26
  • nvd.nist.gov/vuln/detail/CVE-2026-2327
  • security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750

Code Behaviors & Features

Detect and mitigate CVE-2026-2327 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 13.0.0 before 14.1.1

Fixed versions

  • 14.1.1

Solution

Upgrade to version 14.1.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/markdown-it/CVE-2026-2327.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:14 +0000.