U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-54313 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/community-scripts/ProxmoxVE/discussions/6115 CVE
https://github.com/prettier/eslint-config-prettier/issues/339 MITRE
https://news.ycombinator.com/item?id=44608811 MITRE
https://news.ycombinator.com/item?id=44609732 MITRE
https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise MITRE
https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ CISA-ADP, MITRE
https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only CVE
https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions MITRE
https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-506 Embedded Malicious Code MITRE  

Change History

3 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-54313
NVD Published Date:
07/19/2025
NVD Last Modified:
07/23/2025
Source:
MITRE