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.
CVE-2025-54313
Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2026-01-22), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 7.5 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 9.0(high)
- EG Risk
- 81(Attend)EG Risk 81/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability0% × 15%Action: Remediate soon — notable exploitation risk. - EPSS
- 89.8%
- KEV
- ⚠ Exploited
Published
July 19, 2025
Last Modified
January 23, 2026
Advisory Details (8)
Auto-updated Jun 5, 2026Popular 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/CVE-2025-54313: eslint-config-prettier Compromise — High Severity but Windows-Only | Blog | Endor Labs
https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-onlySECURITY: [Homarr] Hijacked Dependency · community-scripts ProxmoxVE · Discussion #6115 · GitHub
https://github.com/community-scripts/ProxmoxVE/discussions/6115Supply Chain Security Alert: eslint-config-prettier Package Shows Signs of Compromise - StepSecurity
https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromiseActive Supply Chain Attack: npm Phishing Campaign Leads to P...
https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromiseeslint-config-prettier npm package compromised | Hacker News
https://news.ycombinator.com/item?id=44609732ESLint-config-prettier briefly had few versions with malware published | Hacker News
https://news.ycombinator.com/item?id=44608811four new versions published with no code changes to repo · Issue #339 · prettier/eslint-config-prettier · GitHub
https://github.com/prettier/eslint-config-prettier/issues/339Affected Packages
(6 across 1 ecosystem)
npm(6)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| eslint-config-prettier | — | 10.1.8 | — |
| eslint-plugin-prettier | — | 4.2.4 | — |
| got-fetch | — | 6.0.0 | — |
| napi-postinstall | 0.3.1 | 0.3.2 | — |
| @pkgr/core | 0.2.8 | 0.2.9 | — |
| synckit | 0.11.9 | 0.11.10 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 21× in last 7d / 63× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 117 total refreshes for this CVE.
- 2026-07-23 02:58 UTCEG score recompute
- 2026-07-22 21:50 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 14:22 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 16:01 UTCEG score recompute
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-20 17:43 UTCEG score recompute
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 15:24 UTCEG score recompute
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 04:11 UTCEG score recompute
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 13:19 UTCEG score recompute
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-17 07:35 UTCEG score recompute
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 15:04 UTCCISA KEV update
Show 75 moreShow fewer
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 19:01 UTCCISA KEV update
- 2026-07-07 17:16 UTCCISA KEV update
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:01 UTCEPSS rescore
- 2026-07-01 19:16 UTCCISA KEV update
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 19:12 UTCCISA KEV update
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 19:15 UTCCISA KEV update
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 17:44 UTCCISA KEV update
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 16:13 UTCCISA KEV update
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 19:33 UTCCISA KEV update
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 19:33 UTCCISA KEV update
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 17:35 UTCCISA KEV update
- 2026-06-11 19:10 UTCCISA KEV update
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-09 18:42 UTCCISA KEV update
- 2026-06-09 17:12 UTCCISA KEV update
- 2026-06-08 19:16 UTCCISA KEV update
- 2026-06-08 17:26 UTCCISA KEV update
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
Frequently asked(6)
What is CVE-2025-54313?
When was CVE-2025-54313 disclosed?
Is CVE-2025-54313 actively exploited?
What is the CVSS score of CVE-2025-54313?
Which products are affected by CVE-2025-54313?
How do I remediate CVE-2025-54313?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-54313
Is Your Infrastructure Affected by CVE-2025-54313?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.