Skip to main content
VulnerabilityPublished

CVE-2026-111766: markdown-it · Quadratic-time denial of service in inline HTML parsing with html enabled

Affects markdown-itSource GCVE Database

0
Compare
Authoritative record:CVE-2026-111766· Low 3.7

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

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmmarkdown-itAffected
  • <14.3.3
Fixed in
  • 14.3.3
npmmarkdown-itAffected
  • >=15.0.0 <15.0.3
Fixed in
  • 15.0.3

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

Community reviews

Loading reviews…