[ CVE-2025-54313 · Published 19 Jul 2025 ]
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2026-01-22
[ Description ]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.
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.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 12 Feb 2026): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- github.com/prettier/eslint-config-prettier/issues/339Issue Tracking
- news.ycombinator.com/itemIssue Tracking
- news.ycombinator.com/itemIssue Tracking
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromiseThird Party Advisory
- www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishin…ExploitThird Party Advisory
- www.npmjs.com/package/eslint-config-prettierProduct
- www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-sho…ExploitThird Party Advisory
- github.com/community-scripts/ProxmoxVE/discussions/6115Third Party Advisory
- www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severi…Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource