CVEvulnerability
CVE-2021-21306
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-02-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-400
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.
Affected configurations
• marked project marked (>= 1.1.1 < 2.0.0)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd Patch, Third Party Advisory
- https://github.com/markedjs/marked/issues/1927 Third Party Advisory
- https://github.com/markedjs/marked/pull/1864 Patch, Third Party Advisory
- https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 Third Party Advisory
- https://www.npmjs.com/package/marked Product, Third Party Advisory
- https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd Patch, Third Party Advisory
- https://github.com/markedjs/marked/issues/1927 Third Party Advisory
- https://github.com/markedjs/marked/pull/1864 Patch, Third Party Advisory
- https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 Third Party Advisory
- https://www.npmjs.com/package/marked Product, Third Party Advisory