# CVE-2025-54313

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.

- Page: https://www.vulneraibility.com/cve/CVE-2025-54313
- CVSS: 7.5
- Known exploited: yes, in CISA KEV since 2026-01-22; CISA due date 2026-02-12
- EPSS: 5.13%
- Unvetted proof-of-concept code on GitHub: 2 GitHub proofs of concept (first 2025-07-26)
- CISA SSVC: exploitation active, automatable no, technical impact partial (assessed 2026-01-23)
- Weakness: CWE-506
- Also known as: GHSA-f29h-pxvx-f335
- Published: 2025-07-19

## Affected versions

- prettier eslint-config-prettier: affected 8.10.1; 9.1.1; 10.1.6; 10.1.7

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- [other] https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- [other] https://github.com/prettier/eslint-config-prettier/issues/339
- [other] https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- [other] https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- [other] https://news.ycombinator.com/item?id=44609732
- [other] https://news.ycombinator.com/item?id=44608811
- [other] https://github.com/community-scripts/ProxmoxVE/discussions/6115
- [other] https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
