CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 12 February 2026). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- EPSS
- 4.35% probability · 91th percentile
- CISA KEV
- Listed 22 January 2026 · due 12 February 2026
- Weakness
- CWE-506
- Affected
- prettier/eslint-config-prettier · prettier/eslint-plugin-prettier · un-ts/synckit · un-ts/pkgr\/core · alexghr/got-fetch · un-ts/napi-postinstall · homarr/homarr
- Source
- cve@mitre.org
CISA notes
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions ; https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490 ; https://nvd.nist.gov/vuln/detail/CVE-2025-54313
References
- https://github.com/prettier/eslint-config-prettier/issues/339Issue Tracking
- https://news.ycombinator.com/item?id=44608811Issue Tracking
- https://news.ycombinator.com/item?id=44609732Issue Tracking
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromiseThird Party Advisory
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/Exploit, Third Party Advisory
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versionsProduct
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromiseExploit, Third Party Advisory
- https://github.com/community-scripts/ProxmoxVE/discussions/6115Third Party Advisory
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-onlyThird Party Advisory
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.