CVE-2025-54313 prettier · eslint-config-prettier
7.5 HighKEVEU
Official description
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.
- Published
- 2025-07-19 17:15 UTC
- Modified
- 2026-06-17 09:39 UTC
- CVSS
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N - EPSS
- 1.76% (percentile 78)
- CISA KEV
- added: 2026-01-22 · due date (US federal agencies): 2026-02-12
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability - ENISA EUVD
- EUVD-2025-21972 · exploited: 2026-01-22
- CWE
- CWE-506
CVSS vector
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Scope
- changed
- Confidentiality
- low
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- www.bleepingcomputer.com
https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ - www.stepsecurity.io
https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise - github.com
https://github.com/prettier/eslint-config-prettier/issues/339 - news.ycombinator.com
https://news.ycombinator.com/item?id=44608811 - news.ycombinator.com
https://news.ycombinator.com/item?id=44609732 - socket.dev
https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise - www.npmjs.com
https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions - github.com
https://github.com/community-scripts/ProxmoxVE/discussions/6115 - www.endorlabs.com
https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only - www.cisa.gov
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313