markdown-it is vulnerable to Regular Expression Denial of Service (ReDoS)
50
CVE Score
Medium
Regular Expression Denial of Service (ReDoS)
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.
Upgrade the markdown-it library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
2.0.0 - 12.3.1
Fixed in 12.3.2markdown-it is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 2.0.0 - 12.3.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.