CVE-2021-21306
Denial of Service in Marked
- State
- Published
- Severity
- 5.3 Medium
- Published
- Feb 8, 2021
- Updated
- Aug 3, 2024
- Reserved
- Dec 22, 2020
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
Weaknesses
- CWE-400 {"CWE-400":"Uncontrolled Resource Consumption"}
Affected Products
| Product | Versions |
|---|---|
markedmarkedjs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.