{"id":"CVE-2026-111759","published":"2026-10-19T17:39:10Z","modified":"2026-10-19T18:22:54Z","title":"markdown-it: Quadratic complexity in smartquotes with unmatched closing quotes","vendor":"markdown-it","product":"markdown-it","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00684,"percentile":0.47786,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-r7fv-28h4-cvq7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/markdown-it/markdown-it/commit/1b379c1b6d0522421bd1a51b77337c79af2c8670","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/commit/cf27366035edf9196667110c47d9d67b030a4152","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/commit/daf5a3c32303e5d9de01b12eeb725fb5990b8162","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.56},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"markdown-it","affectedVersions":[{"vendor":"markdown-it","product":"markdown-it","versions":[">= 15.0.0, < 15.0.2","< 14.3.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-19T18:22:34.328088Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"markdown-it","vulnerableRanges":[">=15.0.0, <15.0.2","<14.3.2"],"patched":["15.0.2","14.3.2"],"from":["GHSA-r7fv-28h4-cvq7"],"provenance":"source"}],"summary":{"text":"markdown-it, a Markdown parser, has a quadratic-complexity flaw in its smartquotes rule, which runs only when the typographer option is enabled (the default configuration is unaffected). An attacker who can submit crafted Markdown over the network, with no authentication or user interaction needed, can force repeated scans of the quote opener stack and drive processing time up enough to cause denial of service in applications that parse untrusted input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:09Z"},"euvd":{"id":"EUVD-2026-104538","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-21670","published":"2022-01-10","fixed":"12.3.2","kev":false},{"cve":"CVE-2026-2327","published":"2026-02-12","fixed":"14.1.1","kev":false},{"cve":"CVE-2026-48988","published":"2026-06-17","fixed":"14.2.0","kev":false,"link":{"from":"CVE-2026-48988","to":"CVE-2026-111759","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:markdown-it","fromFixed":"14.2.0","toFixed":"14.3.2","daysApart":124},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-111759","published":"2026-10-19","fixed":"15.0.2","kev":false},{"cve":"CVE-2026-111758","published":"2026-10-20","fixed":"15.0.3","kev":false,"link":{"from":"CVE-2026-111759","to":"CVE-2026-111758","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:markdown-it","fromFixed":"14.3.2","toFixed":"14.3.3","daysApart":1},{"kind":"version-step","provenance":"source","package":"npm:markdown-it","fromFixed":"15.0.2","toFixed":"15.0.3","daysApart":1}]}},{"cve":"CVE-2026-111766","published":"2026-10-19","fixed":"15.0.3","kev":false,"link":{"from":"CVE-2026-111759","to":"CVE-2026-111766","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:markdown-it","fromFixed":"14.3.2","toFixed":"14.3.3","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:markdown-it","fromFixed":"15.0.2","toFixed":"15.0.3","daysApart":0}]}}],"package":"npm:markdown-it"}}