Description
Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links.
Recommendation
Update the marked package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.3.17
- Patched version(s): 0.3.17
References
Could your website be exposed too?
SmartScanner can check your website for Marked allows Regular Expression Denial of Service (ReDoS) attacks and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Regular Expression Denial of Service (ReDoS) in braces - CVE-2018-1109
- Regular Expression Denial of Service (REDoS) in Marked - CVE-2021-21306
- jspdf vulnerable to Regular Expression Denial of Service (ReDoS) - CVE-2021-23353
- Regular Expression Denial of Service (ReDoS) in jsx-slack - CVE-2021-43838


