← Vulnerability feed

Vulnerability record · CVE-2025-54313 · published 19 July 2025

CVE-2025-54313: eslint-config-prettier npm package ships malicious install script

Prettier · Eslint Config Prettier

Versions 8.10.1, 9.1.1, 10.1.6 and 10.1.7 of eslint-config-prettier contain embedded malicious code: installing the package runs an install.js that launches node-gyp.dll malware on Windows. This is a supply chain compromise of a widely used developer tool, so the risk lands on developer workstations and CI runners rather than on production servers.

7.5 CVSS 3.1 High CISA KEV since 22 Jan 2026 EPSS 4.5% · top 8.8% CWE-506 · CWE-506
7.5CVSS 3.1 base score
4.5%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
7Affected product versions listed by NVD
11References, 3 tagged exploit
17 Jun 2026Last modified by NVD

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/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is confirmed exploited and in CISA KEV, but the payload is Windows-only and requires installing a specific compromised package version, which limits exposure compared with a remotely reachable production service flaw.

What it is

Versions 8.10.1, 9.1.1, 10.1.6 and 10.1.7 of eslint-config-prettier contain embedded malicious code: installing the package runs an install.js that launches node-gyp.dll malware on Windows. This is a supply chain compromise of a widely used developer tool, so the risk lands on developer workstations and CI runners rather than on production servers.

Impact

An attacker gains code execution on any Windows machine that installs an affected version, with the malware running under the installing user's privileges. The CVSS vector rates integrity impact as High and confidentiality as Low, so the primary concern is tampering and follow-on payload activity rather than mass data theft.

Attack surface

Reached through the npm install process: the malicious install.js executes automatically when the package is installed, requiring no authentication and no user interaction beyond the install itself. The description and CVSS vector (AV:N, PR:N, UI:N) indicate remote, unauthenticated triggering, with the payload specifically targeting Windows.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2026-01-22, confirming real-world exploitation, and multiple references are tagged Exploit. EPSS gives a 30-day probability of 0.04348 (90.7th percentile), and no ransomware campaign use is documented.

What to do

  • Remove or upgrade any installation of eslint-config-prettier 8.10.1, 9.1.1, 10.1.6 or 10.1.7 to a clean version, and rebuild lockfiles so the malicious tarball is not reinstalled.
  • Follow CISA KEV required action and applicable BOD 22-01 guidance; if a clean version is unavailable, discontinue use of the package.
  • Block or pin the affected versions in npm registries and CI caches, and audit other listed packages (eslint-plugin-prettier, synckit, pkgr/core, got-fetch, napi-postinstall, homarr) for the same compromise.
  • Treat any Windows host that installed an affected version as compromised: isolate it, hunt for node-gyp.dll and related persistence, and rotate credentials and tokens used on that host.

Detection

  • Search build logs, npm install output and package-lock.json files for eslint-config-prettier versions 8.10.1, 9.1.1, 10.1.6 or 10.1.7.
  • Hunt for node-gyp.dll on Windows developer and CI hosts, especially outside expected node-gyp build paths, and check for unexpected child processes spawned by npm install.
  • Monitor for outbound network connections from npm install or node processes on developer workstations and build runners.
  • Review CI/CD pipeline history for installs of the affected versions and any subsequent anomalous process execution.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-54313 to the Known Exploited Vulnerabilities catalog on 22 January 2026 as "Prettier eslint-config-prettier Embedded Malicious Code Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 12 February 2026.

Affected products

7 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-54313 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.0CVE-2025-67493Homarr improper input validation vulnerabilityHomarr is an open-source dashboard. Prior to version 1.45.3, it was possible to craft an input which allowed privilege escalation and getting access …EPSS 0.31%8.8CVE-2026-33510Homarr open redirect vulnerabilityHomarr is an open-source dashboard. Prior to 1.57.0, a DOM-based Cross-Site Scripting (XSS) vulnerability has been discovered in Homarr's /auth/login…EPSS 0.33%7.5CVE-2026-27796Homarr information exposure vulnerabilityHomarr is an open-source dashboard. Prior to version 1.54.0, the integration.all tRPC endpoint in Homarr is exposed as a publicProcedure, allowing un…EPSS 1.2%6.1CVE-2025-64759Homarr improper input validation vulnerabilityHomarr is an open-source dashboard. Prior to version 1.43.3, stored XSS vulnerability exists, allowing the execution of arbitrary JavaScript in a use…EPSS 0.32%5.3CVE-2026-27797Homarr server-side request forgery (ssrf) vulnerabilityHomarr is an open-source dashboard. Prior to version 1.54.0, an unauthenticated Server-Side Request Forgery (SSRF) vulnerability allows a remote atta…EPSS 0.49%5.3CVE-2026-25123Homarr server-side request forgery (ssrf) vulnerabilityHomarr is an open-source dashboard. Prior to 1.52.0, a public (unauthenticated) tRPC endpoint widget.app.ping accepts an arbitrary url and performs a…EPSS 0.28%4.2CVE-2026-32602Homarr toctou race condition vulnerabilityHomarr is an open-source dashboard. Prior to 1.57.0, the user registration endpoint (/api/trpc/user.register) is vulnerable to a race condition that …EPSS 0.17%9.3CVE-2026-8398DAEMON Tools Lite installers trojanized via supply chain compromiseAttackers breached AVB Disc Soft's build or distribution infrastructure and trojanized three signed binaries (DTHelper.exe, DiscSoftBusServiceLite.ex…KEVEPSS 0.96%analysed

Source: NIST National Vulnerability Database (record CVE-2025-54313), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.