What’s Vulnerable › Vulnerabilities

CVE-2021-21306: Denial of Service in Marked

Description

Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.

Affected products

How to fix

Upgrade to a fixed version: markedjs marked 2.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21306 or the next vulnerability affects your stack