CVE-2025-54313
Published 2025-07-19 · Updated 2026-06-17 · Source cve@mitre.org
Summary
CVE-2025-54313 is a high-severity (CVSS 7.5) vulnerability in Prettier eslint-config-prettier. CISA added it to the Known Exploited Vulnerabilities catalog on January 22, 2026, which means exploitation in the wild has been confirmed; US federal agencies had to remediate it by February 12, 2026. CISA does not currently list it as used in ransomware campaigns.
All 1 known-exploited Prettier vulnerabilities →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.
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
CISA Known-Exploited Vulnerability
Product: Prettier — eslint-config-prettier
Name: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Date added: 2026-01-22 · Due: 2026-02-12
Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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

