← CVE Radar
CVE-2025-54313Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
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.
7.5 HIGHEPSS 5.12%⚡ Known Exploited (CISA KEV)NVD: Analyzed
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 7.5 | HIGH | 3.1mitre (CNA) | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N |
CISA required action
⚡ Known exploited · remediation due Feb 12, 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.
Details
- CVE ID
- CVE-2025-54313
- Status
- Analyzed
- Assigner (CNA)
- mitre
- Published
- Jul 19, 2025
- Last modified
- 2026-06-17 09:39 UTC
- Weaknesses
- CWE-506 · Embedded Malicious Code
Affected Products
As published by the CNA in the CVE record.
prettiereslint-config-prettier4 version ranges
- 8.10.1
- 9.1.1
- 10.1.6
- 10.1.7
References
- 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
- bleepingcomputer.com https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- npmjs.com https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- stepsecurity.io https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- github.com https://github.com/community-scripts/ProxmoxVE/discussions/6115
- endorlabs.com https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313