Live threats

All CVEs / Prettier

CVE-2025-54313Prettier eslint-config-prettier

Embedded Malicious Code in eslint-config-prettier and Related Packages

High 7.5 KEV No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
In KEV since
Jan 22, 2026
CISA deadline
Feb 12, 2026
Ransomware use
Unknown
Published
Jul 19, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-506
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

What happens

Multiple versions of eslint-config-prettier, eslint-plugin-prettier, synckit, and @pkgr/core contain embedded malicious code that executes during installation. On Windows, the install.js file launches the node-gyp.dll malware, compromising the supply chain. CISA confirmed this vulnerability as actively exploited.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, and 10.1.7 has embedded malicious code for a supply chain compromise. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.

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

Source text, unmodified. CISA KEV.

What to do

Patch available

Update immediately eslint-config-prettier, eslint-plugin-prettier, synckit, and @pkgr/core to patched versions. Scan Windows systems for node-gyp.dll and remove any malware.

Vendor advisory · www.npmjs.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for eslint-config-prettier.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was February 12, 2026.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @pkgr/core ≥ 0.2.8 < 0.2.9 0.2.9 npm install @pkgr/core@0.2.9
npm eslint-config-prettier ≥ 8.10.1 < 8.10.2 8.10.2 npm install eslint-config-prettier@8.10.2
npm eslint-config-prettier ≥ 9.1.1 < 9.1.2 9.1.2 npm install eslint-config-prettier@9.1.2
npm eslint-config-prettier ≥ 10.1.6 < 10.1.8 10.1.8 npm install eslint-config-prettier@10.1.8
npm eslint-plugin-prettier ≥ 4.2.2 < 4.2.4 4.2.4 npm install eslint-plugin-prettier@4.2.4
npm got-fetch ≥ 5.1.11 < 6.0.0 6.0.0 npm install got-fetch@6.0.0
npm napi-postinstall ≥ 0.3.1 < 0.3.2 0.3.2 npm install napi-postinstall@0.3.2
npm synckit ≥ 0.11.9 < 0.11.10 0.11.10 npm install synckit@0.11.10

Per OSV / GitHub Advisories (GHSA-f29h-pxvx-f335). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prettiereslint-config-prettier8.10.1
prettiereslint-config-prettier9.1.1
prettiereslint-config-prettier10.1.6
prettiereslint-config-prettier10.1.7
prettiereslint-plugin-prettier4.2.2
prettiereslint-plugin-prettier4.2.3
un-tssynckit0.11.9
un-tspkgr/core0.2.8
alexghrgot-fetch5.1.1
alexghrgot-fetch5.1.2
un-tsnapi-postinstall0.3.1
homarrhomarr≥ 1.29.0 < 1.30.0

Official sources

References

Links published by the sources. Open them with care.