{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21680","published":"2022-01-14T17:15:13.210000Z","last_modified":"2026-06-17T04:26:44.973000Z","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","CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*","part":"a","vendor":"marked_project","product":"marked","version_end_excluding":"4.0.10"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"36"}],"cpes_truncated":false,"vendors":["marked_project","fedoraproject"],"products":["marked_project/marked","fedoraproject/fedora"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.02336,"percentile":0.84329,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rrrm-qjm4-v8hf","ecosystem":"npm","name":"marked","purl":"pkg:npm/marked","ranges":[{"introduced":"0","fixed":"4.0.10"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-21680/","html_en":"/en/cve/CVE-2022-21680/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21680","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21680"},"untrusted":{"vendor_name":"Marked Project","product_name":"Marked","desc_en":"Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.","affected":[{"untrusted_vendor":"markedjs","untrusted_product":"marked","versions":[]}],"references":[{"url":"https://github.com/markedjs/marked/commit/c4a3ccd344b6929afa8a1d50ac54a721e57012c0","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/markedjs/marked/releases/tag/v4.0.10","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/markedjs/marked/security/advisories/GHSA-rrrm-qjm4-v8hf","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AIXDMC3CSHYW3YWVSQOXAWLUYQHAO5UX/","tags":[]}]}}