Security mailing lists by PureSourceCode

CVE-2021-21306

HIGH 7.5CVSS 3.1

Regular Expression Denial of Service (REDoS) in Marked

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.

Published
8 Feb 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-4r62-v4vq-hr96
Sources
NVDJSONOSV GHSA-4r62-v4vq-hr96JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD marked_project marked
cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*
>= 1.1.1, < 2.0.0 2.0.0
OSV npm marked >= 1.1.1, < 2.0.0 2.0.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Feb 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Feb 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.