Resource Exhaustion Affecting node-markdown-it package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.38% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-NODEMARKDOWNIT-17376641
  • published19 Jun 2026
  • disclosed17 Jun 2026

Introduced: 17 Jun 2026

CVE-2026-48988  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 node-markdown-it.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-markdown-it package and not the node-markdown-it package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.