CVE-2025-54313
CONFIRMED EXPLOITEDPrettier eslint-config-prettier Embedded Malicious Code Vulnerability
Is Prettier eslint-config-prettier affected by CVE-2025-54313?
Prettier eslint-config-prettier is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2025-54313, added on 2026-01-22. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (12 vulnerable CPE entries): alexghr got-fetch, homarr homarr, prettier eslint-config-prettier, prettier eslint-plugin-prettier, un-ts napi-postinstall and un-ts pkgr\/core and 1 further CPE product entries.
Published CPE version bounds mark releases below 1.30.0 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2026-02-12.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-8398Shared weaknessDaemon Daemon Tools Lite
Daemon Tools Lite Embedded Malicious Code Vulnerability
- CVE-2026-48027Shared weaknessNx Nx Console
Nx Console Embedded Malicious Code Vulnerability
- CVE-2026-45321Shared weaknessTanStack TanStack
TanStack Unspecified Vulnerability
- CVE-2026-33634Shared weaknessAquasecurity Trivy
Aquasecurity Trivy Embedded Malicious Code Vulnerability
- CVE-2025-34026Neighboring entryVersa Concerto
Versa Concerto Improper Authentication Vulnerability
- CVE-2025-68645Neighboring entrySynacor Zimbra Collaboration Suite (ZCS)
Synacor Zimbra Collaboration Suite (ZCS) PHP Remote File Inclusion Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-01-22. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of eslint-config-prettier has been compromised.
- High Confidentiality impact (C:H): unauthorized disclosure of sensitive memory, credentials, or files.
- High Integrity impact (I:H): unauthorized modification of system state, configuration, or execution flow.
- Scope Change (S:C) in CVSS vector: exploitation can cross trust boundaries beyond the vulnerable component itself (e.g., container/sandbox/hypervisor escape or downstream host impact).
- Network service surface (Prettier eslint-config-prettier): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running Prettier eslint-config-prettier and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- https://github.com/prettier/eslint-config-prettier/issues/339Issue Tracking
- https://news.ycombinator.com/item?id=44608811Issue Tracking
- https://news.ycombinator.com/item?id=44609732Issue Tracking
- 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/ExploitThird Party Advisory
- 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-compromiseExploitThird Party Advisory
- 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.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313US Government Resource
SCORING & VECTOR TELEMETRY
NIST NVD score not yet provided. Score attributed to MITRE (cve@mitre.org, Secondary / CNA assessment distributed via NVD).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Rust-powered Windows Event Log (EVTX) fast forensics timeline generator & Sigma engine
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Open-source XDR and SIEM platform for endpoint and cloud security monitoring
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting