markdown-it is a Markdown parser. Versions 14.1.1 and below contain a denial-of-service vulnerability when…
Historical advisory recorded 25 Oct 2026 12:17:32 UTC. Read the latest advisory.
nvd · CVE-2026-48988
Publishedmarkdown-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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-48988 · CVE overview and exploitation status
nvd · CVE-2026-48988
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.