CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
- Actively exploited
- High · 7.5 of 10
- Exploited since
- 22 Jan 2026 added to the CISA list
- Chance of attacks
- 5.1% in the next 30 days (FIRST EPSS)
- Fix deadline
- 12 Feb 2026 for US federal agencies
- Published
- 19 Jul 2025 in the NVD
What this means
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.
CISA
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.
NIST National Vulnerability Database
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- prettier eslint-config-prettier
Official sources
- nvd.nist.gov/vuln/detail/CVE-2025-54313
- 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
- bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-dr...
- npmjs.com/package/eslint-config-prettier?activeTab=versions
- stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-sign...
- github.com/community-scripts/ProxmoxVE/discussions/6115
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N.