HIGH
CVE-2025-54313
CVSS
7.5
KEV
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.
Summary dbcve.org
eslint-config-prettier versions 8.10.1, 9.1.1, 10.1.6, and 10.1.7 were compromised with a supply chain attack. The malicious install.js script executes during npm install and drops the node-gyp.dll malware specifically targeting Windows systems.
Mitigation
Immediately audit systems for presence of affected versions and remove them. Reinstall eslint-config-prettier from known-good versions (preferably 10.2.0+ or earlier safe versions like 8.x and 9.x) and scan Windows machines for indicators of compromise.
Weakness (CWE)
CWE-506
EPSS Score
4.52%
Probability of exploitation in next 30 days
91.1th percentile
References
https://github.com/prettier/eslint-config-prettier/issues/339
Issue Tracking
https://news.ycombinator.com/item?id=44608811
Issue Tracking
https://news.ycombinator.com/item?id=44609732
Issue Tracking
https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
Third Party Advisory
https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
Exploit, Third Party Advisory
https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
Product
https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
Exploit, Third Party Advisory
https://github.com/community-scripts/ProxmoxVE/discussions/6115
Third Party Advisory
https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
US Government Resource
Base CVE data derived from NVD (public domain). Enrichment by
dbcve.org
(CC-BY-4.0). Fetched via API.