CVE-2025-54313
published high CVSS 3.1 · 7.5eslint-config-prettier: Eslint-config-prettier Supply Chain Compromise
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| prettier | — | eslint-config-prettier8.10.1 · 9.1.1 · 10.1.6 · 10.1.7 · Other versions: unaffected | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| prettier | eslint-config-prettier | 8.10.1 (affected · semver)9.1.1 (affected · semver)10.1.6 (affected · semver)10.1.7 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-506 CWE-506 Embedded Malicious Code
References
10- https://github.com/community-scripts/ProxmoxVE/discussions/6115
- https://github.com/prettier/eslint-config-prettier/issues/339
- https://news.ycombinator.com/item?id=44608811
- https://news.ycombinator.com/item?id=44609732
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eeedb5c0eae2c78375d6fb777b5f2b933fca2272328145a2cf882af9237f2f25
- Ingested
- 23 Sep 2026, 08:53:04 UTC
- Source record
- Official CVE record