{"id":"CVE-2022-21670","aliases":["GHSA-6vfc-qv3f-vr6c"],"url":"https://o3.security/vulnerability/CVE-2022-21670","summary":"Uncontrolled Resource Consumption in markdown-it","details":"markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characterss could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.","published":"2022-01-10T20:40:10Z","modified":"2026-08-12T03:51:35.375909096Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"markdown-it","fixedVersion":"12.3.2"}],"fix":{"url":"https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101","label":"markdown-it/markdown-it@ffc49ab"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21670.json"},{"type":"ADVISORY","url":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21670"},{"type":"FIX","url":"https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.375909096Z"}}