CVE-2025-54313eslint-config-prettier supply chain malware via install.js
CVSS score
7.5
High
CVSS 3.1 from mitre.org
Exploit probability (EPSS)
5.13%
5.13% chance of exploitation in the next 30 days, higher than 92.6% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 22 Jan 2026.
US federal deadline to fix: 12 Feb 2026.
In plain words
Specific published versions of eslint-config-prettier contain malicious code that runs an install.js script when the package is installed, which launches the node-gyp.dll malware on Windows. Several other npm packages and the Homarr application are also listed as affected, and CISA reports active exploitation and has added this to its KEV catalog. No vendor patch is referenced, so remove the affected package versions, review systems where they were installed for signs of compromise, and follow the mitigation guidance in CISA's KEV entry.
Official 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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 22 Jan 2026.
US federal agencies must fix it by 12 Feb 2026. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Prettier Eslint-config-prettier, Prettier Eslint-plugin-prettier, un-ts Synckit, un-ts Pkgr/core, alexghr Got-fetch and compare its version with the affected versions.
Update to a fixed version
- Update Homarr to 1.30.0 or later.
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| Prettier Eslint-config-prettier | 8.10.1 · 9.1.1 · 10.1.6 · 10.1.7 |
| Prettier Eslint-plugin-prettier | 4.2.2 · 4.2.3 |
| un-ts Synckit | 0.11.9 |
| un-ts Pkgr/core | 0.2.8 |
| alexghr Got-fetch | 5.1.1 · 5.1.2 |
| un-ts Napi-postinstall | 0.3.1 |
| homarr Homarr | ≥ 1.29.0, < 1.30.0 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-54313 being exploited?
Yes. CISA added CVE-2025-54313 to its Known Exploited Vulnerabilities catalog on 22 Jan 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 5.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-54313?
CVE-2025-54313 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Prettier Eslint-config-prettier (8.10.1; 9.1.1; 10.1.6; 10.1.7), Prettier Eslint-plugin-prettier (4.2.2; 4.2.3), UN TS Synckit (0.11.9), UN TS Pkgr/core (0.2.8), Alexghr Got-fetch (5.1.1; 5.1.2), UN TS Napi-postinstall (0.3.1)
Is there a patch for CVE-2025-54313?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/(Exploit, Third Party Advisory)
- www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise(Exploit, Third Party Advisory)
- 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.npmjs.com/package/eslint-config-prettier?activeTab=versions(Product)
- 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)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.