Skip to content
StratQuad

Threats

eslint-config-prettier embedded malicious code in install script

CVE-2025-54313Known exploitedHigh

eslint-config-prettier contains malicious code in an install.js file that executes when the package is installed. On Windows systems, this script launches node-gyp.dll malware. An attacker can compromise systems by distributing affected versions of the package through the npm supply chain, requiring only that a user or automated system installs the affected package.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
7.5
HIGH
EPSS score
0.05
Probability of exploitation in 30 days
EPSS percentile
92nd
Share of scored CVEs at or below this one
Added to KEV
22 Jan
CISA due date
12 Feb
Applies to US federal agencies

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Prettier eslint-config-prettier. CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Weakness: CWE-506 (opens in a new tab)

Affected versions

  • prettier eslint-config-prettier: 8.10.1
  • prettier eslint-config-prettier: 9.1.1
  • prettier eslint-config-prettier: 10.1.6
  • prettier eslint-config-prettier: 10.1.7
  • prettier eslint-plugin-prettier: 4.2.2
  • prettier eslint-plugin-prettier: 4.2.3
  • un-ts synckit: 0.11.9
  • un-ts pkgr\/core: 0.2.8
  • alexghr got-fetch: 5.1.1
  • alexghr got-fetch: 5.1.2
  • un-ts napi-postinstall: 0.3.1
  • homarr homarr: from 1.29.0, before 1.30.0