Description
markdown-it is a Markdown parser. Prior to 14.3.2 and 15.0.2, smartquotes is affected: many opening quotes of one type followed by unmatched closing quotes of the other type cause the smartquotes rule to repeatedly scan the entire opener stack, resulting in quadratic processing time. The root cause is each mismatched quote closer repeatedly scans the opener stack for a compatible quote type. The attack mechanism is quadratic rescanning of the quote opener stack. The affected identifiers are smartquotes and typographer. The trigger conditions are attacker-controlled Markdown with many openers of one quote type and unmatched closers of the other type and typographer mode is enabled. The impact is denial of service through excessive parsing time. The vulnerable path requires typographer mode; disabling typographer or the smartquotes rule prevents the affected processing. This issue is fixed in versions 14.3.2 and 15.0.2.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Mon, 19 Oct 2026 17:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | markdown-it is a Markdown parser. Prior to 14.3.2 and 15.0.2, smartquotes is affected: many opening quotes of one type followed by unmatched closing quotes of the other type cause the smartquotes rule to repeatedly scan the entire opener stack, resulting in quadratic processing time. The root cause is each mismatched quote closer repeatedly scans the opener stack for a compatible quote type. The attack mechanism is quadratic rescanning of the quote opener stack. The affected identifiers are smartquotes and typographer. The trigger conditions are attacker-controlled Markdown with many openers of one quote type and unmatched closers of the other type and typographer mode is enabled. The impact is denial of service through excessive parsing time. The vulnerable path requires typographer mode; disabling typographer or the smartquotes rule prevents the affected processing. This issue is fixed in versions 14.3.2 and 15.0.2. | |
| Title | markdown-it: Quadratic complexity in smartquotes with unmatched closing quotes | |
| Weaknesses | CWE-400 CWE-407 |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-10-19T17:46:20.544Z
Reserved: 2026-10-16T17:52:09.081Z
Link: CVE-2026-111759
No data.
No data.
No data.
OpenCVE Enrichment
No data.