Vulnerabilities/

Marked allows Regular Expression Denial of Service (ReDoS) attacks

Severity:
Medium

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:

References

Related Issues

Tags:
npm
marked
Anything's wrong? Let us know Last updated on May 27, 2025

This issue is available in SmartScanner Professional

See Pricing