Prettier · eslint-config-prettier
CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
CISA KEV record
- CISA date added
- 2026-01-22
- CISA due date
- 2026-02-12
- Known ransomware use
- Unknown
NVD risk context
7.5 HIGH
CVSS is a technical severity score. CISA’s KEV status remains the evidence that this vulnerability is known to be exploited.
Description
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.
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.
NVD reference index
Vendor and remediation references
NVD has not tagged a reference for this KEV as a patch, mitigation, release note, or vendor advisory.
Other NVD references (10)
- 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.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 ↗
- https://github.com/community-scripts/ProxmoxVE/discussions/6115 ↗
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only ↗
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 ↗
MITRE CWE context
CWE classification
The product contains code that appears to be malicious in nature.
View official MITRE CWE details ↗NVD record timing
NVD record timeline
These dates describe NVD’s record, not CISA’s KEV addition or remediation due date.
- NVD published
- Jul 19, 2025, 05:15 PM UTC When NVD first published this CVE record.
- NVD last updated
- Jun 17, 2026, 09:39 AM UTC When NVD last changed its analysis or record data.
Advanced: view the technical CVSS vector
This standardized code is intended for security tools and technical analysts. The plain-language risk summary above explains its main points.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
CISA notes
This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions ; https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490 ; https://nvd.nist.gov/vuln/detail/CVE-2025-54313