CVE-2026-48988: fallo de gravedad media en markdown-it
markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
13Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 5.3epss 0.4%
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 concatenation per quote character. This can cause excessive CPU consumption when parsing quote-heavy, user-supplied markdown and may let attackers degrade or disrupt service availability. Although typographer is disabled by default, many production apps enable it for smart typography, making the issue relevant. This issue has been fixed in version 14.2.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Productos afectados
markdown-it · markdown-itCVEs relacionadas — markdown-it
En el mismo producto, de las más peligrosas a las menos.
CVE-2022-21670MEDIUMUncontrolled Resource Consumption in markdown-itEPSS 2.4%CVE-2026-111759HIGHmarkdown-it: Quadratic complexity in smartquotes with unmatched closing quotesEPSS 0.6%CVE-2026-111758HIGHmarkdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)EPSS 0.5%CVE-2026-111766LOWmarkdown-it: Quadratic-time denial of service in inline HTML parsing with html enabledEPSS 0.4%CVE-2025-7969MEDIUMMarkdown-it 14.1.0 - Cross-site scripting (XSS)EPSS 0.3%