Actively exploited · Published Jul 19, 2025 · Assigned by mitre

CVE-2025-54313

High 7.5 Exploited

In plain English

A high-severity security flaw in eslint-config-prettier from prettier. Attackers are actively exploiting it in the wild (listed by CISA on January 22, 2026). The chance it is exploited in the next 30 days is estimated at 5.1% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)5.1%top 7.6% of all CVEs
Exploited in the wildYesCISA KEV since Jan 22, 2026
Attack tooling1Public PoC

CISA guidance

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Federal agencies must remediate by Feb 12, 2026.

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@pkgr/core0.2.9GHSA-f29h-pxvx-f335
npmeslint-config-prettier9.1.2GHSA-f29h-pxvx-f335
npmeslint-config-prettier10.1.8GHSA-f29h-pxvx-f335
npmeslint-config-prettier8.10.2GHSA-f29h-pxvx-f335
npmeslint-plugin-prettier4.2.4GHSA-f29h-pxvx-f335
npmgot-fetch6.0.0GHSA-f29h-pxvx-f335
npmnapi-postinstall0.3.2GHSA-f29h-pxvx-f335
npmsynckit0.11.10GHSA-f29h-pxvx-f335

Affected products (as reported)

VendorProductVersions
prettier eslint-config-prettier 8.10.19.1.110.1.610.1.7

Weakness: CWE-506 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

References