Vulnerability record · CVE-2021-21306 · published 8 February 2021
CVE-2021-21306: Marked project marked uncontrolled resource consumption vulnerability
MMarked Project · Marked
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd | PatchThird Party Advisory |
| https://github.com/markedjs/marked/issues/1927 | Third Party Advisory |
| https://github.com/markedjs/marked/pull/1864 | PatchThird Party Advisory |
| https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 | Third Party Advisory |
| https://www.npmjs.com/package/marked | ProductThird Party Advisory |
| https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd | PatchThird Party Advisory |
| https://github.com/markedjs/marked/issues/1927 | Third Party Advisory |
| https://github.com/markedjs/marked/pull/1864 | PatchThird Party Advisory |
| https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 | Third Party Advisory |
| https://www.npmjs.com/package/marked | ProductThird Party Advisory |
Track CVE-2021-21306 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-21306), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.