{"cve":"CVE-2022-21670","nvd":{"published":"2022-01-10T21:15:07.967","modified":"2026-06-17T04:26:43.707","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-1333","CWE-400"],"references":["https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101","https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c","https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101","https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c"],"products":["markdown-it_project:markdown-it"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2022-21670","score":0.02282,"percentile":0.8315,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-6vfc-qv3f-vr6c","url":"https://osv.dev/vulnerability/GHSA-6vfc-qv3f-vr6c","summary":"Uncontrolled Resource Consumption in markdown-it","modified":"2023-11-08T04:08:07.059316Z","packages":[{"ecosystem":"npm","name":"markdown-it","purl":"pkg:npm/markdown-it","ranges":["<12.3.2"],"fixed":["12.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}