CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code
- Published19 Jul 2025
- Added to CISA KEV22 Jan 2026
- Remediation due12 Feb 2026
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
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:NAffected products
Remediation
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
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2025-54313 being actively exploited?
Yes. CVE-2025-54313 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 22 Jan 2026.
How severe is CVE-2025-54313?
CVE-2025-54313 has a CVSS 3.1 base score of 7.5, rated high. EPSS estimates a 4.93% probability of exploitation.
Which products are affected by CVE-2025-54313?
Affected products include Alexghr Got-fetch, Homarr, Prettier Eslint-config-prettier, Prettier Eslint-plugin-prettier, Un-ts Napi-postinstall, and 2 more.
How do I fix CVE-2025-54313?
Upgrade affected software to a fixed version, for example Homarr 1.30.0 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2025-54313 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, a risk for it never ranks below high, and the update that fixes it moves to the Emergency patch lane. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.