CVE-2025-54313
High 7.5KEV · exploitedFix status unknownPrettier eslint-config-prettier Embedded Malicious Code Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 93% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 282 days ago for U.S. federal agencies
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.
Weakness: CWE-506
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- npmjs.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Prettier | eslint-config-prettier | Not documented | Not documented | CISA KEV |
| prettier | eslint-config-prettier | 10.1.6 | Not documented | CVE Program |
| prettier | eslint-config-prettier | 10.1.7 | Not documented | CVE Program |
| prettier | eslint-config-prettier | 8.10.1 | Not documented | CVE Program |
| prettier | eslint-config-prettier | 9.1.1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by mitre
Source: CVE Program (opens in a new tab)
22 Jan 2026KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
22 Jan 2026Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Vendor guidance and references
- https://github.com/prettier/eslint-config-prettier/issues/339 (opens in a new tab)vendor-advisory
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions (opens in a new tab)vendor-advisory
- https://github.com/community-scripts/ProxmoxVE/discussions/6115 (opens in a new tab)
- https://news.ycombinator.com/item?id=44608811 (opens in a new tab)
- https://news.ycombinator.com/item?id=44609732 (opens in a new tab)
- https://nvd.nist.gov/vuln/detail/CVE-2025-54313 (opens in a new tab)government
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise (opens in a new tab)
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ (opens in a new tab)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 (opens in a new tab)government-resource
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only (opens in a new tab)
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise (opens in a new tab)