CVE-2025-54313
high · 7.5Actively exploitedOn the CISA Known Exploited Vulnerabilities catalog
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Added 2026-01-22Remediation due 2026-02-12
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
CVSS
4.5%
EPSS (exploit prob.)
91st
EPSS percentile
2025-07-19
Published
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Weaknesses
CWE-506
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| prettier | eslint-config-prettier | 8.10.1 |
| prettier | eslint-config-prettier | 9.1.1 |
| prettier | eslint-config-prettier | 10.1.6 |
| prettier | eslint-config-prettier | 10.1.7 |
| microsoft | windows | all versions |
| prettier | eslint-plugin-prettier | 4.2.2 |
| prettier | eslint-plugin-prettier | 4.2.3 |
| microsoft | windows | all versions |
| un-ts | synckit | 0.11.9 |
| microsoft | windows | all versions |
| un-ts | pkgr/core | 0.2.8 |
| microsoft | windows | all versions |
| alexghr | got-fetch | 5.1.1 |
| alexghr | got-fetch | 5.1.2 |
| microsoft | windows | all versions |
| un-ts | napi-postinstall | 0.3.1 |
| microsoft | windows | all versions |
| homarr | homarr | >= 1.29.0, < 1.30.0 |
| microsoft | windows | all versions |
Check a specific version with /api/v1/cve/match.
References
- https://github.com/prettier/eslint-config-prettier/issues/339
- https://news.ycombinator.com/item?id=44608811
- https://news.ycombinator.com/item?id=44609732
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- https://github.com/community-scripts/ProxmoxVE/discussions/6115
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2025-54313