Known Exploited Vulnerability
7.5
HIGH CVSS 3.1
CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability - [Actively Exploited]
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.

INFO

Published Date :

July 19, 2025, 5:15 p.m.

Last Modified :

Jan. 23, 2026, 6:33 p.m.

Remotely Exploit :

Yes !
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

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.

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

Affected Products

The following products are affected by CVE-2025-54313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Un-ts synckit
2 Un-ts pkgr\/core
3 Un-ts napi-postinstall
1 Prettier eslint-config-prettier
2 Prettier eslint-plugin-prettier
1 Microsoft windows
1 Alexghr got-fetch
1 Homarr homarr
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Remove the malicious ESLint configuration and any installed dependencies.
  • Uninstall the affected eslint-config-prettier package.
  • Remove any potentially compromised project dependencies.
  • Scan your system for malware.
  • Review dependencies for suspicious activity.
Public PoC/Exploit Available at Github

CVE-2025-54313 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-54313 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-54313 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Welcome to Shellockolm-ai-CLI-MCP-Scanner - 🎯 Your React app is probably vulnerable. Find out in 30 seconds 🚀

cve cybersecurity devsecops nextjs python react security security-tools vulnerability-management vulnerability-scanner malware-detection npm supply-chain-security threat-detection model-context-protocol security-automation bug-bounty cli nodejs sbom

Python Shell HTML JavaScript TypeScript CSS PowerShell Batchfile

Updated: 1 week, 5 days ago
1 stars 0 fork 0 watcher
Born at : Dec. 6, 2025, 11:29 p.m. This repo has been linked 14 different CVEs too.

Comprehensive detection tool for NPM supply chain attacks, specifically designed to identify and prevent the Shai-Hulud worm and Shai-Hulud 2-0-0 that compromised 1193+ packages including CrowdStrike npm packages in 2025.

cve-2025-54313 github-actions-security malware-detection nodejs npm npm-package security-tools shai-hulud supply-chain wiz bun-payload ioc-database npm-supply-chain typosquatting-detection

Python Shell

Updated: 2 months ago
9 stars 4 fork 4 watcher
Born at : Sept. 22, 2025, 12:46 p.m. This repo has been linked 1 different CVEs too.

Detect CVE-2025-54313 eslint-config-prettier supply chain attack IOCs on Windows

cve-2025-54313 eslint-config-prettier malware-detection powershell security-tools supply-chain-security vulnerability-scanner windows-security ioc-scanner npm-security scavenger-malware

PowerShell Shell

Updated: 6 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 26, 2025, 10:45 p.m. This repo has been linked 1 different CVEs too.

Checks projects for compromised packages, suspicious files, and import statements.

node-gyp npm-package supply-chain-attacks cve-2025-54313

Shell

Updated: 6 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 26, 2025, 11:32 a.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 4 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : July 25, 2025, 8:58 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-54313 vulnerability anywhere in the article.

  • TheCyberThrone
CISA KEV Alert: 5 Critical Vulnerabilities Added to Catalog

January 24, 2026As a cybersecurity analyst tracking threat intelligence, In a rapid-fire update, CISA added four flaws on January 22 and one on January 23, 2026, confirming active exploitation across ... Read more

Published Date: Jan 24, 2026 (2 weeks, 5 days ago)
  • The Cyber Express
CISA Adds Five Enterprise Software Flaws to Known Exploited Vulnerabilities Catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added five enterprise software flaws to its Known Exploited Vulnerabilities (KEV) Catalog in an 18-hour span. On January 22, CISA a ... Read more

Published Date: Jan 23, 2026 (2 weeks, 5 days ago)
  • BleepingComputer
CISA confirms active exploitation of four enterprise software bugs

The Cybersecurity and Infrastructure Security Agency (CISA) in the U.S. warned of active exploitation of four vulnerabilities impacting enterprise software from Versa and Zimbra, the Vite frontend too ... Read more

Published Date: Jan 23, 2026 (2 weeks, 6 days ago)
  • The Hacker News
CISA Updates KEV Catalog with Four Actively Exploited Software Vulnerabilities

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) on Thursday added four security flaws to its Known Exploited Vulnerabilities (KEV) catalog, citing evidence of active exploitation in t ... Read more

Published Date: Jan 23, 2026 (2 weeks, 6 days ago)
  • Daily CyberSecurity
CISA Adds 4 Critical Flaws to “Must-Patch” List as Exploits Surge

The Cybersecurity and Infrastructure Security Agency (CISA) has updated its Known Exploited Vulnerabilities (KEV) Catalog with four dangerous new entries, signaling that hackers are actively weaponizi ... Read more

Published Date: Jan 23, 2026 (2 weeks, 6 days ago)
  • CrowdStrike.com
CrowdStrike Falcon Prevents Supply Chain Attack Involving Compromised NPM Packages

Recently, five popular NPM (Node Package Manager) packages were compromised and modified to deliver a malicious DLL, dubbed “Scavenger”. The malware pushed via these compromised NPM packages executes ... Read more

Published Date: Aug 12, 2025 (6 months ago)
  • Hackread - Latest Cybersecurity, Hacking News, Tech, AI & Crypto
Fake npm Website Used to Push Malware via Stolen Token

A phishing campaign targeting JavaScript developers has led to the compromise of several popular npm packages, including eslint-config-prettier. The breach began with an attacker tricking a maintainer ... Read more

Published Date: Jul 21, 2025 (6 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2025-54313 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jan. 23, 2026

    Action Type Old Value New Value
    Added CPE Configuration AND OR *cpe:2.3:a:prettier:eslint-config-prettier:10.1.6:*:*:*:*:node.js:*:* *cpe:2.3:a:prettier:eslint-config-prettier:10.1.7:*:*:*:*:node.js:*:* *cpe:2.3:a:prettier:eslint-config-prettier:8.10.1:*:*:*:*:node.js:*:* *cpe:2.3:a:prettier:eslint-config-prettier:9.1.1:*:*:*:*:node.js:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.2:*:*:*:*:node.js:*:* *cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.3:*:*:*:*:node.js:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:un-ts:synckit:0.11.9:*:*:*:*:node.js:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:un-ts:pkgr/core:0.2.8:*:*:*:*:node.js:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:* *cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:un-ts:napi-postinstall:0.3.1:*:*:*:*:node.js:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:* versions from (including) 1.29.0 up to (excluding) 1.30.0 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added Reference Type MITRE: https://github.com/prettier/eslint-config-prettier/issues/339 Types: Issue Tracking
    Added Reference Type MITRE: https://news.ycombinator.com/item?id=44608811 Types: Issue Tracking
    Added Reference Type MITRE: https://news.ycombinator.com/item?id=44609732 Types: Issue Tracking
    Added Reference Type MITRE: https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise Types: Third Party Advisory
    Added Reference Type MITRE: https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ Types: Exploit, Third Party Advisory
    Added Reference Type MITRE: https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions Types: Product
    Added Reference Type CVE: https://github.com/community-scripts/ProxmoxVE/discussions/6115 Types: Third Party Advisory
    Added Reference Type CISA-ADP: https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ Types: Exploit, Third Party Advisory
    Added Reference Type MITRE: https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise Types: Exploit, Third Party Advisory
    Added Reference Type CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 Types: US Government Resource
    Added Reference Type CVE: https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only Types: Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jan. 22, 2026

    Action Type Old Value New Value
    Added Reference https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 23, 2025

    Action Type Old Value New Value
    Added Reference https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Jul. 21, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/community-scripts/ProxmoxVE/discussions/6115
    Added Reference https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
  • New CVE Received by [email protected]

    Jul. 19, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
    Added CWE CWE-506
    Added Reference https://github.com/prettier/eslint-config-prettier/issues/339
    Added Reference https://news.ycombinator.com/item?id=44608811
    Added Reference https://news.ycombinator.com/item?id=44609732
    Added Reference https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
    Added Reference https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
    Added Reference https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
    Added Reference https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact