CVE-2026-2327
Versions of the package markdown-it from 13.0.0 and before 14.1.1 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917
- github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs%23L33
- github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26
- security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750
- nvd.nist.gov/vuln/detail/CVE-2026-2327
- github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs#L33
- github.com/advisories/GHSA-38c4-r59v-3vqw
- nvd.nist.gov/vuln/detail/CVE-2026-2327
- cve.org/CVERecord?id=CVE-2026-2327
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.