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.
Updated under an hour ago ()
Does this affect you?
It affects prettier eslint-config-prettier and 7 other products. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Jan 22, 2026; federal agencies had to remediate by Feb 12, 2026. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- Weakness (CWE)
- CWE-506
- Known exploited
- Added to CISA KEV Jan 22, 2026; federal remediation due Feb 12, 2026Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 4.93% (percentile 92)
- Assigned by
- mitre
- NVD analysis
- Analyzed
- Record last updated
- Feb 26, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
prettier eslint-config-prettier prettier:eslint_config_prettier (from the name) | 8.10.1; 9.1.1; 10.1.6; 10.1.7 | CNA record |
prettier eslint-config-prettier prettier:eslint-config-prettier | 8.10.1; 9.1.1; 10.1.6; 10.1.7 | NVD |
prettier eslint-plugin-prettier prettier:eslint-plugin-prettier | 4.2.2; 4.2.3 | NVD |
un-ts synckit un-ts:synckit | 0.11.9 | NVD |
un-ts pkgr/core un-ts:pkgr/core | 0.2.8 | NVD |
alexghr got-fetch alexghr:got-fetch | 5.1.1; 5.1.2 | NVD |
un-ts napi-postinstall un-ts:napi-postinstall | 0.3.1 | NVD |
homarr homarr homarr:homarr | from 1.29.0 before 1.30.0 | NVD |
References
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromisethird-party-advisory
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/exploit, third-party-advisory
- https://github.com/prettier/eslint-config-prettier/issues/339issue-tracking
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versionsproduct
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromiseexploit, third-party-advisory
- https://news.ycombinator.com/item?id=44609732issue-tracking
- https://news.ycombinator.com/item?id=44608811issue-tracking
- https://github.com/community-scripts/ProxmoxVE/discussions/6115third-party-advisory
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-onlythird-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.