VulnerabilityCVE-2026-48988GHSA-6v5v-wf23-fmfq
markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations
Not on CISA KEVCVSS 5.3 (v3.1)
Summary
markdown-it is a Markdown parser. Versions 14.1.1 and below contain a denial-of-service vulnerability when typographer: true is enabled, due to quadratic (O(n^2)) processing in the smartquotes rule. The issue stems from repeatedly modifying strings with replaceAt(), which performs O(n) slicing and
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)