Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-111759

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-111759

markdown-it

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "markdown-it",
    "product": "markdown-it",
    "versions": [
      {
        "status": "affected",
        "version": ">= 15.0.0, < 15.0.2"
      },
      {
        "status": "affected",
        "version": "< 14.3.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-111759

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#39698 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement