CVE-2025-54313: Vulnerability in Prettier Eslint-config-prettier
Actively exploited. 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.
Exploited in the wild, npm, CWE-506
- Exploitation
- Confirmed 22 Jan 2026
- Severity
- 7.5 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 12 Feb 2026
Details
- Advisory ID
- GHSA-f29h-pxvx-f335
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- Weakness
- CWE-506
- Published
- 19 Jul 2025
- Last change
- 17 Jun 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Prettier Eslint-config-prettier Versions 8.10.1, 9.1.1, 10.1.6, 10.1.7. No fixed version recorded
- Prettier Eslint-plugin-prettier Versions 4.2.2, 4.2.3. No fixed version recorded
- Un-ts Synckit Version 0.11.9. No fixed version recorded
- Un-ts Napi-postinstall Version 0.3.1. No fixed version recorded
- Un-ts pkgr\/core Version 0.2.8. No fixed version recorded
- Alexghr Got-fetch Versions 5.1.1, 5.1.2. No fixed version recorded
- Homarr From 1.29.0 before 1.30.0. Fixed in 1.30.0
Affected packages
Vulnerable version ranges and fixed releases
- eslint-config-prettier npm, Affected version 8.10.1. Fixed in 8.10.2
- eslint-plugin-prettier npm, Affected from 4.2.2 through 4.2.3. Fixed in 4.2.4
- synckit npm, Affected version 0.11.9. Fixed in 0.11.10
- @pkgr/core npm, Affected version 0.2.8. Fixed in 0.2.9
- napi-postinstall npm, Affected version 0.3.1. Fixed in 0.3.2
- got-fetch npm, Affected from 5.1.11 through 5.1.12. Fixed in 6.0.0
Advisories
Vendor and security advisories
- github.com/prettier/eslint-config-prettier/issues/339
- news.ycombinator.com/item
- news.ycombinator.com/item
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to...
- npmjs.com/package/eslint-config-prettier
Related
- Eslint-config-prettier vulnerabilities Recent advisories, watch this product
- Eslint-plugin-prettier vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only