CVE-2025-54313
High 7.5 Exploited in the wild (KEV)
Confirmed active exploitation — CISA KEV catalog
- Name
- Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
- Added to catalog
- Remediation due date (US federal)
- 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.
Metrics
- CVSS 3.1
-
7.5 (HIGH)
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N - EPSS — exploit probability
- 5% (percentile: 92) as of 1 November 2026
- CWE
- CWE-506
Affected products
prettier: eslint-config-prettier; microsoft: windows; prettier: eslint-plugin-prettier; un-ts: synckit; un-ts: pkgr\/core; alexghr: got-fetch; un-ts: napi-postinstall; homarr: homarr
References
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hija… ExploitThird Party Advisory
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-pret… ExploitThird Party Advisory
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hija… ExploitThird Party Advisory
- https://github.com/prettier/eslint-config-prettier/issues/339 Issue Tracking
- https://news.ycombinator.com/item?id=44608811 Issue Tracking
- https://news.ycombinator.com/item?id=44609732 Issue Tracking
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-package… Third Party Advisory
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions Product
- https://github.com/community-scripts/ProxmoxVE/discussions/6115 Third Party Advisory
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromis… Third Party Advisory