Vulnerability in Prettier Eslint-config-prettier
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.
EPSS: 0.147 (94.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N.
Affected products
- Prettier Eslint-config-prettier — versions 8.10.1, 9.1.1, 10.1.6
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
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.
Public proof-of-concept exploits
References
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compro…
- www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via…
- github.com/prettier/eslint-config-prettier/issues/339
- www.npmjs.com/package/eslint-config-prettier
- www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-pac…
- news.ycombinator.com/item
- news.ycombinator.com/item
Frequently asked questions
- What is CVE-2025-54313?
- CVE-2025-54313 is a high-severity vulnerability in Prettier Eslint-config-prettier, classified under CWE-506. CVSS score: 7.5/10. Published 2025-07-19.
- How severe is CVE-2025-54313?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-54313 known to be exploited?
- Yes. CVE-2025-54313 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-01-22), indicating it is being actively exploited. 6 public proof-of-concept repositories are indexed.