Skip to main content
VulnerabilityPublished

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

0
Compare
Authoritative record:CVE-2026-111758· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 14.3.3 soon.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 3.1 base score
7.5High
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.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 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.1.0 <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 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

Community reviews

Loading reviews…