CVE-2026-111758: markdown-it · Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)
Affects markdown-itSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 14.3.3 soon.
Data as of 4 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 14.3.3, 15.0.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade markdown-it to 14.3.3; markdown-it to 15.0.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmarkdown-it | Affected
| Fixed in
|
| npmmarkdown-it | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade markdown-it to versions 14.3.3 or later, or 15.0.3 or later, where the issue is fixed. The fix involves changing the parsing logic to avoid inefficient string concatenation and bounding the scanned label length. Until patched, disabling the reference parsing rule or inline parsing can mitigate the issue but may reduce Markdown functionality. No additional generic mitigations are required as the vulnerability is specific to the parsing of unclosed multi-line link reference definitions.
Description
markdown-it versions 14.1.0 through before 14.3.3 and 15.0.0 through before 15.0.3 contain a regression causing quadratic-time complexity when rendering a single multi-line link reference definition with default options. This results in severe performance degradation, blocking the Node.js event loop for many seconds on large inputs. The issue arises from inefficient string concatenation and parsing logic in the reference rule, leading to an algorithmic complexity denial of service (CWE-407).
References
- github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c (opens in a new tab)
- github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca (opens in a new tab)
- github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503 (opens in a new tab)
- github.com/markdown-it/markdown-it (opens in a new tab)
- github.com/markdown-it/markdown-it/releases/tag/14.3.3 (opens in a new tab)
- github.com/markdown-it/markdown-it/releases/tag/15.0.3 (opens in a new tab)