Resource exhaustion in markdown-it - #VU132289

 

Resource exhaustion in markdown-it - #VU132289

Published: May 25, 2026


Vulnerability identifier: #VU132289
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: markdown-it
Affected software:
markdown-it

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in the smartquotes rule when processing user-supplied markdown with the typographer option enabled. A remote attacker can submit a markdown input containing many consecutive quotation marks to cause a denial of service.

Only applications that render user-supplied markdown with typographer: true are vulnerable.


Remediation

Install security update from vendor's website.

Sources