CVE-2021-21306: Denial of Service in Marked
Vulnerability summary
CVE-2021-21306 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in marked_project marked. EPSS estimates a 2.49% chance of exploitation in the next 30 days, higher than 85.1% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 08-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
2.49%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.49% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Marked_project1 product
- marked≥ 1.1.1, < 2.0.0
Markedjs1 product
- marked≥ 1.1.1, < 2.0.0
Npm1 product
- marked≥ 1.1.1, < 2.0.0
3 vendors · 3 products
References
6 links- github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96X Refsource CONFIRMWEBThird Party Advisory
- github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccdX Refsource MISCWEBPatchThird Party Advisory