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.
In short
CVE-2025-54313 (Prettier eslint-config-prettier Embedded Malicious Code) has a CVSS 3.1 base score of 7.5, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 22 Jan 2026. Fixed in Homarr 1.30.0 or later.
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 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:NAffected products
- Alexghr Got-fetch5.1.1 · 5.1.2
- Homarr≥ 1.29.0 < 1.30.0
- Prettier Eslint-config-prettier10.1.6 · 10.1.7 · 8.10.1 · 9.1.1
- Prettier Eslint-plugin-prettier4.2.2 · 4.2.3
- Un-ts Napi-postinstall0.3.1
- Un-ts Pkgr/core0.2.8
- Un-ts Synckit0.11.9
Remediation
Fixed in- Homarr≥ 1.30.0
References
- https://github.com/community-scripts/ProxmoxVE/discussions/6115
- 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.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- 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
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
