High severity · published Jul 19, 2025
CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
In wildKEV
7.5
CVSS
5.1%
EPSS
Yes
On KEV
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)5.1% · higher than 92% of CVEs
Exploited in the wildYes
CISA KEVListed Jan 22, 2026
Federal remediation dueFeb 12, 2026
Ransomware campaign useNot known
Affected products
Which versions
ES
eslint-config-prettier · prettier
8.10.1; 9.1.1; 10.1.6; 10.1.7 · source: vendor, NVD, KEV
ES
Eslint-plugin-prettier · Prettier
4.2.2; 4.2.3 · source: NVD
GO
Got-fetch · Alexghr
5.1.1; 5.1.2 · source: NVD
HO
Homarr · Homarr
1.29.0 before 1.30.0 · source: NVD
NA
Napi-postinstall · Un-ts
0.3.1 · source: NVD
PK
Pkgr/core · Un-ts
0.2.8 · source: NVD
SY
Synckit · Un-ts
0.11.9 · source: NVD
In the news
VulnerabilityHigh
[CISA KEV] CVE-2025-54313: Prettier eslint-config-prettier - Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.
ESeslint-config-prettierCVE-2025-54313
Jan 22, 2026·CISA KEV
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54313
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54313
CISA KEV catalogue
https://www.cisa.gov/known-exploited-vulnerabilities-catalog
socket.dev
https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
www.bleepingcomputer.com
https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
github.com
https://github.com/prettier/eslint-config-prettier/issues/339
www.npmjs.com
https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
www.stepsecurity.io
https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
news.ycombinator.com
https://news.ycombinator.com/item?id=44609732
