---
title: "CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-54313/
description: "CVE-2025-54313 (Prettier eslint-config-prettier): Exploited in the wild (CISA KEV). eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, and 10.1.7 has embedded…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-07-19
date_modified: 2026-02-26
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-54313"
kev: true
cvss: 7.5
epss: 0.05125
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

**Signal:** Exploited: patch now if you run it. CISA has confirmed exploitation in the wild. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Yes, if you run Prettier eslint-config-prettier. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2026-01-22, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2026-02-12 ; treat that as the outer limit, not the target.
- EPSS 5.1% , percentile 92: FIRST’s model estimates a 5.1% chance of exploitation activity in the next 30 days, higher than 92% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.

## What it is

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.

## Affected products (CVE record)

- prettier eslint-config-prettier: 8.10.1, 9.1.1, 10.1.6, 10.1.7

## Severity

- mitre CVSS 3.1: 7.5 `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N`

## Exploitation

- CISA KEV: added 2026-01-22; federal due date 2026-02-12. Known ransomware use: Unknown.
- 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 SSVC assessment: exploitation active , automatable no , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 5.12% probability of exploitation activity in the next 30 days; percentile 92.

## Sources

- [Listed in CISA KEV notes (npmjs.com)](https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions)
- [Listed in CISA KEV notes (github.com)](https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490)
- [CVE.org record CVE-2025-54313](https://www.cve.org/CVERecord?id=CVE-2025-54313)
- [NVD entry CVE-2025-54313](https://nvd.nist.gov/vuln/detail/CVE-2025-54313)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313)
- [socket.dev](https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise)
- [bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/)
- [github.com](https://github.com/prettier/eslint-config-prettier/issues/339)
- [stepsecurity.io](https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise)
- [news.ycombinator.com](https://news.ycombinator.com/item?id=44609732)
- [news.ycombinator.com](https://news.ycombinator.com/item?id=44608811)
- [github.com](https://github.com/community-scripts/ProxmoxVE/discussions/6115)
- [endorlabs.com](https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only)

---
Source page: https://erroneo.us/security/cve/CVE-2025-54313/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
