CVE-2025-54313eslint-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…
- 7.5HighCVSS base score
- 5.1%Exploitation in 30 daysEPSS · top 7.5% of all CVEs
- YesKnown exploitedin CISA's KEV since 22 Jan 2026
- YesPublic exploitsa reference or SSVC says so
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Prettier eslint-config-prettier Embedded Malicious Code Vulnerability.
- Added
- 22 Jan 2026
- Fix due (US federal)
- 12 Feb 2026
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 22 Jan 2026.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits1
References tagged exploit1 reference
Timeline
Published
- 6 months later
· 6 months later
Added to CISA KEV
Known exploited in the wild
- 35 days later
· 35 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitreCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N |
- EPSS (exploitation in 30 days)
- 5.1% · top 7.5% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
prettier · eslint-config-prettier
- affected 8.10.1
- affected 9.1.1
- affected 10.1.6
- affected 10.1.7
Affected packages
Affected packages6
From reviewed advisories of the GitHub Advisory Database.
- npm@pkgr/coreGHSA-f29h-pxvx-f335 (opens in a new tab)
- npmeslint-config-prettierGHSA-f29h-pxvx-f335 (opens in a new tab)
- npmeslint-plugin-prettierGHSA-f29h-pxvx-f335 (opens in a new tab)
- npmgot-fetchGHSA-f29h-pxvx-f335 (opens in a new tab)
- npmnapi-postinstallGHSA-f29h-pxvx-f335 (opens in a new tab)
- npmsynckitGHSA-f29h-pxvx-f335 (opens in a new tab)
References
References10
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise (opens in a new tab)
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ (opens in a new tab)exploit
- https://github.com/prettier/eslint-config-prettier/issues/339 (opens in a new tab)
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions (opens in a new tab)
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise (opens in a new tab)
- https://news.ycombinator.com/item?id=44609732 (opens in a new tab)
- https://news.ycombinator.com/item?id=44608811 (opens in a new tab)
- https://github.com/community-scripts/ProxmoxVE/discussions/6115 (opens in a new tab)
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only (opens in a new tab)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-21972 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f29h-pxvx-f335 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-54313)Record last updated .