CVE-2025-54313
prettier eslint-config-prettier
Published 19 Jul 2025 · updated 17 Jun 2026 · Analyzed
7.5 High · CVSS 3.1, mitre.org
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 22 Jan 2026, with a remediation deadline of 12 Feb 2026 for US federal agencies.
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.
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.
References
- github.com/prettier/eslint-config-prettier/issues/339 · Issue Tracking
- news.ycombinator.com/item?id=44608811 · Issue Tracking
- news.ycombinator.com/item?id=44609732 · Issue Tracking
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise · Third Party Advisory
- www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ · Exploit, Third Party Advisory
- www.npmjs.com/package/eslint-config-prettier?activeTab=versions · Product
- www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise · Exploit, Third Party Advisory
- github.com/community-scripts/ProxmoxVE/discussions/6115 · Third Party Advisory
- www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only · Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 · US Government Resource