CVE-2021-21306
published medium CVSS 3.1 · 5.3Denial of Service in Marked
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| markedjs | — | marked>= 1.1.1, < 2.0.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| markedjs | marked | >= 1.1.1, < 2.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 {"CWE-400":"Uncontrolled Resource Consumption"}
References
5Provider assertions
2GitHub_M · cna
Denial of Service in Marked
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cacf03c5699e2e3a12ebfa2079e21894782157961e44140d0b5b24e5e816f821
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record