markdown-it is vulnerable to Regular Expression Denial of Service (ReDoS)
50
Medium Risk
The affected versions use a regular expression with inefficient, potentially exponential worst-case computational complexity, causing excessive CPU consumption in lib/rules_inline/newline.js via the /s+$/ pattern on line 23.
You are affected if you are using a version that falls within the vulnerable range.
markdown-it is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 2.0.0 - 12.3.1.
Upgrade the markdown-it library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant