CVE-2025-54313Embedded Malicious Code
NVDCVSS scored by cve@mitre.org
Vulnerability Summary
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 v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityLow
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
Not provided by NVD for this CVE.
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Feb 12, 2026.
- Check whether you run the affected product and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA KEV Status
Listed in Known Exploited Vulnerabilities
Added: Jan 22, 2026
Remediation due: Feb 12, 2026 (deadline passed)
Remediation due: Feb 12, 2026 (deadline passed)
Timeline
- Jul 19, 2025Published
- Jul 23, 2025Record last modified
- Jan 22, 2026Added to CISA KEV catalog
- Feb 12, 2026KEV remediation due date
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2025-54313. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://github.com/prettier/eslint-config-prettier/issues/339
- Referencehttps://news.ycombinator.com/item?id=44608811
- Referencehttps://news.ycombinator.com/item?id=44609732
- Referencehttps://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- Vendor Advisoryhttps://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- Referencehttps://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- Referencehttps://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- Referencehttps://github.com/community-scripts/ProxmoxVE/discussions/6115
- Referencehttps://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- Vendor Advisoryhttps://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
Data last checked: Nov 26, 2026 08:12 UTC