CVE-2026-111766: markdown-it · Quadratic-time denial of service in inline HTML parsing with html enabled
Affects markdown-itSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 14.3.3 when convenient.
Data as of 4 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.7 |
|---|
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% 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:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 19 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 markdown-it that addresses this quadratic-time denial of service issue. Users should upgrade to a fixed version (>=14.3.3 or >=15.0.3). If upgrading is not immediately possible, disabling HTML parsing (html: false) prevents this issue, as the default configuration does. Applications using the commonmark preset should be especially cautious and consider disabling HTML or applying the patch. No other mitigations are specifically recommended.
Description
markdown-it versions prior to 14.3.3 and from 15.0.0 up to but not including 15.0.3 have a vulnerability where enabling HTML parsing causes quadratic-time denial of service during inline HTML parsing. Specifically, repeated unterminated HTML constructs such as comments, processing instructions, declarations, and CDATA sections cause the parser to perform excessive repeated scans, blocking the Node.js event loop for seconds or tens of seconds. The default configuration disables HTML, but the commonmark preset enables it, making some applications vulnerable. A fix is available.
References
- github.com/markdown-it/markdown-it/security/advisories/GHSA-vfgh-jcmw-g37q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-111766 (opens in a new tab)
- github.com/markdown-it/markdown-it/commit/928bc8c11ded60181c0e7fc5aa954eec582e8e79 (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)