CVE-2025-54313 — Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
CISA Known Exploited Vulnerability (KEV)
| Vendor / project | Prettier |
| Product | eslint-config-prettier |
| Date added | 2026-01-22 |
| Due date | 2026-02-12 |
| Ransomware campaign use | Unknown |
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 (CISA)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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
References
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-54313
- KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog