CVE-2021-21306: marked_project marked Uncontrolled Resource Consumption
Vulnerability summary
CVE-2021-21306 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in marked_project marked. EPSS estimates a 2.46% chance of exploitation in the next 30 days, higher than 84.2% of scored vulnerabilities.
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.46%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
0.00 pp
From 2.46% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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