Vulnerability library
Security checkMay 27, 2025

Marked allows Regular Expression Denial of Service (ReDoS) attacks

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmarked

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated May 27, 2025