CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
High · CVSS 7.5 (CVSS 3.1)KEV known exploitedEPSS 5.1%, 92th percentilePublished Updated Assigner: mitre
In CISA’s Known Exploited Vulnerabilities catalog: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability.
Added , federal remediation due . Known ransomware use: Unknown.
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.
Description
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.
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N · CWE-506
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
prettier: eslint-config-prettier
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/prettier/eslint-config-prettier/issues/339 (opens in new tab)
- news.ycombinator.com/item (opens in new tab)
- news.ycombinator.com/item (opens in new tab)
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-comprom… (opens in new tab)
- www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-dr… (opens in new tab)
- www.npmjs.com/package/eslint-config-prettier (opens in new tab)
- www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)