Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-21306 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd | CVE | PatchThird Party Advisory |
| https://github.com/markedjs/marked/issues/1927 | CVE | Third Party Advisory |
| https://github.com/markedjs/marked/pull/1864 | CVE | PatchThird Party Advisory |
| https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 | CVE | Third Party Advisory |
| https://www.npmjs.com/package/marked | CVE | ProductThird Party Advisory |
| https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd | [email protected] | PatchThird Party Advisory |
| https://github.com/markedjs/marked/issues/1927 | [email protected] | Third Party Advisory |
| https://github.com/markedjs/marked/pull/1864 | [email protected] | PatchThird Party Advisory |
| https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 | [email protected] | Third Party Advisory |
| https://www.npmjs.com/package/marked | [email protected] | ProductThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| marked project marked | >= 1.1.1, < 2.0.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 11, 2021 | Initial Analysis | [email protected] |