CVE-2025-54313

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.
Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:prettier:eslint-config-prettier:8.10.1:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-config-prettier:9.1.1:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-config-prettier:10.1.6:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-config-prettier:10.1.7:*:*:*:*:node.js:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Configuration 2 (hide)

AND
OR cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.2:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.3:*:*:*:*:node.js:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Configuration 3 (hide)

AND
cpe:2.3:a:un-ts:synckit:0.11.9:*:*:*:*:node.js:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Configuration 4 (hide)

AND
cpe:2.3:a:un-ts:pkgr\/core:0.2.8:*:*:*:*:node.js:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Configuration 5 (hide)

AND
OR cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:*
cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Configuration 6 (hide)

AND
cpe:2.3:a:un-ts:napi-postinstall:0.3.1:*:*:*:*:node.js:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Configuration 7 (hide)

AND
cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

23 Jan 2026, 18:33

Type Values Removed Values Added
References () https://github.com/prettier/eslint-config-prettier/issues/339 - () https://github.com/prettier/eslint-config-prettier/issues/339 - Issue Tracking
References () https://news.ycombinator.com/item?id=44608811 - () https://news.ycombinator.com/item?id=44608811 - Issue Tracking
References () https://news.ycombinator.com/item?id=44609732 - () https://news.ycombinator.com/item?id=44609732 - Issue Tracking
References () https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise - () https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise - Third Party Advisory
References () https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ - () https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ - Exploit, Third Party Advisory
References () https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions - () https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions - Product
References () https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise - () https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise - Exploit, Third Party Advisory
References () https://github.com/community-scripts/ProxmoxVE/discussions/6115 - () https://github.com/community-scripts/ProxmoxVE/discussions/6115 - Third Party Advisory
References () https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only - () https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only - Third Party Advisory
References () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 - () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 - US Government Resource
First Time Prettier
Un-ts pkgr\/core
Microsoft
Homarr homarr
Un-ts
Prettier eslint-config-prettier
Un-ts synckit
Alexghr
Microsoft windows
Alexghr got-fetch
Prettier eslint-plugin-prettier
Un-ts napi-postinstall
Homarr
CPE cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
cpe:2.3:a:prettier:eslint-config-prettier:10.1.7:*:*:*:*:node.js:*:*
cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:*
cpe:2.3:a:un-ts:synckit:0.11.9:*:*:*:*:node.js:*:*
cpe:2.3:a:un-ts:pkgr\/core:0.2.8:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-config-prettier:8.10.1:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.2:*:*:*:*:node.js:*:*
cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*
cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.3:*:*:*:*:node.js:*:*
cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-config-prettier:9.1.1:*:*:*:*:node.js:*:*
cpe:2.3:a:un-ts:napi-postinstall:0.3.1:*:*:*:*:node.js:*:*
cpe:2.3:a:prettier:eslint-config-prettier:10.1.6:*:*:*:*:node.js:*:*

22 Jan 2026, 19:15

Type Values Removed Values Added
References
  • () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 -

23 Jul 2025, 16:15

Type Values Removed Values Added
References () https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ - () https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ -

21 Jul 2025, 16:15

Type Values Removed Values Added
Summary
  • (es) eslint-config-prettier 8.10.1, 9.1.1, 10.1.6 y 10.1.7 contiene código malicioso que compromete la cadena de suministro. Al instalar un paquete afectado, se ejecuta un archivo install.js que lanza el malware node-gyp.dll en Windows.
References
  • () https://github.com/community-scripts/ProxmoxVE/discussions/6115 -
  • () https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only -

19 Jul 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-19 17:15

Updated : 2026-01-23 18:33


NVD link : CVE-2025-54313

Mitre link : CVE-2025-54313

CVE.ORG link : CVE-2025-54313


JSON object : View

Products Affected

un-ts

  • napi-postinstall
  • pkgr\/core
  • synckit

prettier

  • eslint-config-prettier
  • eslint-plugin-prettier

alexghr

  • got-fetch

microsoft

  • windows

homarr

  • homarr
CWE
CWE-506

Embedded Malicious Code