CVE-2025-54313 Details
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.
A supply chain vulnerability has been identified in the eslint-config-prettier npm package, specifically in versions 8.10.1, 9.1.1, 10.1.6, and 10.1.7. This vulnerability arises from a phishing attack that compromised the credentials of a package maintainer, allowing malicious versions to be published. The compromised versions include an install script that executes a Windows DLL known to be a trojan, potentially leading to unauthorized access or damage.
Users are advised to uninstall the compromised versions of eslint-config-prettier and replace them with version 10.1.5 or earlier. The maintainer has marked the malicious versions as deprecated and published a clean version. Additionally, enabling two-factor authentication on npm accounts and being cautious with dependency updates can help prevent similar incidents.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Prettier eslint-config-prettier Embedded Malicious Code Vulnerability | Jan 22, 2026 | Feb 12, 2026 | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-506 | Embedded Malicious Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| prettier eslint-config-prettier | 8.10.1 9.1.1 10.1.6 10.1.7 |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
| prettier eslint-plugin-prettier | 4.2.2 4.2.3 |
CPE
Remediation
| |
| un-ts synckit | 0.11.9 |
CPE
Remediation
| |
| un-ts pkgr/core | 0.2.8 |
CPE
Remediation
| |
| alexghr got-fetch | 5.1.1 5.1.2 |
CPE
Remediation
| |
| un-ts napi-postinstall | 0.3.1 |
CPE
Remediation
| |
| homarr homarr | >= 1.29.0, < 1.30.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Jan 22, 2026 | CVE Modified | CISA-ADP |
| Jul 23, 2025 | CVE Modified | CISA-ADP |
| Jul 21, 2025 | CVE Modified | CVE |
| Jul 19, 2025 | New CVE Received | [email protected] |