CVE-2021-21306

Source
https://cve.org/CVERecord?id=CVE-2021-21306
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21306.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21306
Aliases
Downstream
Published
2021-02-08T22:15:12Z
Modified
2026-10-20T10:54:28Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/markedjs/marked

Affected ranges

Type
GIT
Repo
https://github.com/markedjs/marked
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "1.1.1"
                },
                {
                    "fixed":  "2.0.0"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "7293251c438e3ee968970f7609f1a27f9007bccd"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.1.1
v1.1.2
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.8
v1.2.9
v1.20

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21306.json"