Skip to main content
← All vulnerabilities
CVE-2026-111759GHSA-R7FV-28H4-CVQ7

markdown-it: Quadratic complexity in smartquotes with unmatched closing quotes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.0.2, 14.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

markdown-it is a Markdown parser. Prior to 14.3.2 and 15.0.2, when typographer: true is enabled, specially crafted Markdown can cause quadratic processing time in the smartquotes rule, potentially leading to denial of service in applications processing untrusted input. Many opening double quotes followed by unmatched closing single quotes cause repeated scans of the entire opener stack. The same issue occurs with the quote types reversed. The default configuration (typographer: false) is not affected, but this option is enabled with high probability. This issue is fixed in versions 14.3.2 and 15.0.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • markdown-it markdown-it

    From 15.0.0 · fixed in 15.0.2; fixed in 14.3.2

  • markdown-itnpm

    From 15.0.0 · fixed in 15.0.2

  • markdown-itnpm

    fixed in 14.3.2

References 6

GitHub · markdown-it/markdown-it