5.3Medium
CVE-2026-2327
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.
Weakness (CWE):
CWE-1333
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| markdown-it project | markdown-it | 13.0.0 – < 14.1.1 | |
| — | markdown-it | 13.0.0 – < 14.1.1 |
References and patches
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750 Third Party Advisory
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917 Vendor Advisory
- https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs%23L33 Broken Link
- https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26 PatchProduct
CPE matches (NVD) (1)
cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:*≥ 13.0.0 < 14.1.1