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.
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.
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.
- Apply the vendor's security update for eslint-config-prettier.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was February 12, 2026.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | 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 | ≥ 1.29.0 < 1.30.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- news.ycombinator.com Issue Tracking
- news.ycombinator.com Issue Tracking
- socket.dev Third Party Advisory
- www.bleepingcomputer.com Exploit Third Party Advisory
- www.npmjs.com Product
- www.stepsecurity.io Exploit Third Party Advisory
- github.com Third Party Advisory
- www.endorlabs.com Third Party Advisory
- www.cisa.gov US Government Resource