Exploited vulnerabilities · Prettier
CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
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.
Description in the NVD
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.
Required action according to 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 now
- Check your exposureFind out whether Prettier eslint-config-prettier runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/prettier/eslint-config-prettier/issues/339
- news.ycombinator.com/item?id=44608811
- news.ycombinator.com/item?id=44609732
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-t
- www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-
- github.com/community-scripts/ProxmoxVE/discussions/6115
- nvd.nist.gov/vuln/detail/CVE-2025-54313
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.