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
nvd · CVE-2026-48988
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-400
Original publisher date fields
published: 2026-06-17T21:16:23.563
lastModified: 2026-06-24T19:06:21.497
1 source CPE criteria · context only
- cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON