{"id":"CVE-2026-111758","published":"2026-10-20T20:28:40Z","modified":"2026-10-28T16:40:33Z","title":"markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options…","vendor":"markdown-it","product":"markdown-it","tier":"tail","description":{"text":"markdown-it is a Markdown parser. From versions 14.1.0 to before 14.3.3, and 15.0.0 to before 15.0.3, a link reference definition whose label or title is never closed is O(n²) with default options. Continuation lines are pulled lazily with str += lineContent in src/rules_block/reference.ts, and the subsequent charCodeAt and slice calls flatten the V8 cons-string, copying everything collected so far; this runs before the rule decides the definition is invalid. No options are required to trigger it. This issue has been patched in versions 14.3.3 and 15.0.3.","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.0063,"percentile":0.44605,"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-gfr2-rv44-r23c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"markdown-it","affectedVersions":[{"vendor":"markdown-it","product":"markdown-it","versions":[">= 14.1.0, < 14.3.3",">= 15.0.0, < 15.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-28T16:39:57.942731Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"markdown-it","vulnerableRanges":[">=14.1.0, <14.3.3",">=15.0.0, <15.0.3"],"patched":["14.3.3","15.0.3"],"from":["GHSA-gfr2-rv44-r23c"],"provenance":"source"}],"summary":{"text":"The flaw affects versions 14.1.0 up to but not including 14.3.3, and 15.0.0 up to but not including 15.0.3. An attacker who can get a crafted Markdown document with an unclosed multi-line link reference definition parsed by markdown-it can exhaust CPU and stall rendering, causing a denial of service. No special configuration is needed, since the default options are enough, and the attack requires only network access with no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:25Z"},"euvd":{"id":"EUVD-2026-105358","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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},{"cve":"CVE-2026-111759","published":"2026-10-19","fixed":"15.0.2","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-111758","published":"2026-10-20","fixed":"15.0.3","kev":false},{"cve":"CVE-2026-111766","published":"2026-10-19","fixed":"15.0.3","kev":false}],"package":"npm:markdown-it"}}