Home

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.

PUBLISHED Reserved 2026-02-11 | Published 2026-02-12 | Updated 2026-02-12 | Assigner snyk




MEDIUM: 6.9CVSS: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
MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P

Problem types

Regular Expression Denial of Service (ReDoS)

Credits

Duc Le Trung

References

security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750 exploit

gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917 exploit

security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750

gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917

github.com/...t/blob/14.1.0/lib/rules_inline/linkify.mjs#L33

github.com/...ommit/4b4bbcae5e0990a5b172378e507b33a59012ed26

cve.org (CVE-2026-2327)

nvd.nist.gov (CVE-2026-2327)

Download JSON