CVE-2025-54313
7.5, high Known exploitedPrettier eslint-config-prettier Embedded Malicious Code Vulnerability
- CVSS
- 7.5, high high CVSS v3.1
- EPSS, next 30 days
- 5% higher than 92% of scored CVEs
- Exploitation
- Confirmed in the wild
- Published
- 19 Jul 2025a year ago
Known exploited
CISA added this to the Known Exploited Vulnerabilities Catalog on 22 Jan 2026. US federal agencies had to remediate by 12 Feb 2026, a deadline that has passed.
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.
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.
Details
- Vendor
- Prettier
- Product
- eslint-config-prettier
- Weakness
- CWE-506 (opens in a new tab)
- Status
- Analyzed
- Updated
- 17 Jun 2026
- Assigner
- cve@mitre.org
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
References 10
Exploit code 2
Advisories 3
- github.com /community-scripts/ProxmoxVE/discussions/6115 (opens in a new tab)
- socket.dev /blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise (opens in a new tab)
- endorlabs.com /learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only (opens in a new tab)
Other references 5
- github.com /prettier/eslint-config-prettier/issues/339 (opens in a new tab)
- news.ycombinator.com /item?id=44608811 (opens in a new tab)
- news.ycombinator.com /item?id=44609732 (opens in a new tab)
- cisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 (opens in a new tab)
- npmjs.com /package/eslint-config-prettier?activeTab=versions (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Beyond this page
Is CVE-2025-54313 in your network?
This page tells you how dangerous CVE-2025-54313 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
CVE-2025-54313 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2025-54313 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.