markdown-it: Quadratic complexity in smartquotes with unmatched closing quotes
Summary
| CVE | CVE-2026-111759 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-19 18:17:00 UTC |
| Updated | 2026-10-19 19:17:23 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-400 | CWE-407 | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-407 CWE-407: Inefficient Algorithmic Complexity
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Markdown-it | Markdown-it | affected >= 15.0.0, < 15.0.2 | Not specified |
| CNA | Markdown-it | Markdown-it | affected < 14.3.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/markdown-it/markdown-it/security/advisories/GHSA-r7fv-28h4-cvq7 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/markdown-it/markdown-it/releases/tag/15.0.2 | [email protected] | github.com | |
| github.com/markdown-it/markdown-it/releases/tag/14.3.2 | [email protected] | github.com | |
| github.com/markdown-it/markdown-it/commit/daf5a3c32303e5d9de01b12eeb725f... | [email protected] | github.com | |
| github.com/markdown-it/markdown-it/commit/1b379c1b6d0522421bd1a51b77337c... | [email protected] | github.com | |
| github.com/markdown-it/markdown-it/commit/cf27366035edf9196667110c47d9d6... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.