CVE-2025-54313
KEVHIGH 7.5EPSS 4.9%
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.
- Affected
- prettier · eslint-config-prettier
- CVSS v3.1 MITRE
- 7.5 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N - EPSS
- 4.93% chance of exploitation in the next 30 days, 92nd percentile
- CISA KEV
- added 2026-01-22
- Published
- 2025-07-19
- Updated
- 2026-02-26
Proof-of-concept exploits (1)
- nihilor/cve-2025-543130★ · 2025-07-27
Security advisories
- community-scripts/ProxmoxVE/discussions/6115
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromi…
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-p…
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-…
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-packa…
- advisories/GHSA-f29h-pxvx-f335
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- prettier/eslint-config-prettier/issues/339
- https://news.ycombinator.com/item?id=44608811
- https://news.ycombinator.com/item?id=44609732