All intelligence
// vulnerability record
cached · NVD via COSMOS syncCVE-2025-54313
HIGHKEVpublished 2025-07-19 17:15 UTC · 1 year ago · modified 2026-06-17 09:39 UTC
7.5
CVSS / 10
// description
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.
// required action (CISA KEV)
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-22 00:00 UTC
// weaknesses (CWE)
- CWE-506
// references (10)
- 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/