Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Markdown-It Project | Markdown-It | >= 13.0.0, < 14.1.1 |
Related Weaknesses (CWE)
References
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917Vendor Advisory
- https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.Broken Link
- https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33PatchProduct
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750Third Party Advisory
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917Vendor Advisory
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750Third Party Advisory
FAQ
What is CVE-2026-2327?
CVE-2026-2327 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-2327?
CVE-2026-2327 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-2327?
Check the references section above for vendor advisories and patch information. Affected products include: Markdown-It Project Markdown-It.