CVE-2021-21306

Source
https://cve.org/CVERecord?id=CVE-2021-21306
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21306.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21306
Aliases
Related
Published
2021-02-08T22:15:12.450Z
Modified
2026-04-12T01:01:14.694546Z
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
{
    "cpe": "cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*",
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.1.1"
        },
        {
            "fixed": "2.0.0"
        }
    ]
}

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/osv-test-cve-osv-conversion/osv-output/CVE-2021-21306.json"