{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21306","published":"2021-02-08T22:15:12.450000Z","last_modified":"2026-06-17T03:35:15.567000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*","part":"a","vendor":"marked_project","product":"marked","version_start_including":"1.1.1","version_end_excluding":"2.0.0"}],"cpes_truncated":false,"vendors":["marked_project"],"products":["marked_project/marked"],"epss":{"score":0.02492,"percentile":0.85398,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4r62-v4vq-hr96","ecosystem":"npm","name":"marked","purl":"pkg:npm/marked","ranges":[{"introduced":"1.1.1","fixed":"2.0.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-21306/","html_en":"/en/cve/CVE-2021-21306/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21306","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21306"},"untrusted":{"vendor_name":"Marked Project","product_name":"Marked","desc_en":"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":[{"untrusted_vendor":"markedjs","untrusted_product":"marked","versions":[]}],"references":[{"url":"https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/markedjs/marked/issues/1927","tags":["Third Party Advisory"]},{"url":"https://github.com/markedjs/marked/pull/1864","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/marked","tags":["Product","Third Party Advisory"]}]}}