CVE-2025-54313

HighActively exploited (CISA KEV)

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductPrettier eslint-config-prettier
PublishedJul 19, 2025
First seenJul 19, 2025
Added to KEVJan 22, 2026
Weakness typeCWE-506CWE-506

How to fix

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 due date: Feb 12, 2026
Update
  • homarr homarr1.30.0 or later
  • eslint-config-prettier8.10.2, 9.1.2, 10.1.8 or later
  • eslint-plugin-prettier4.2.4 or later
  • synckit0.11.10 or later
  • @pkgr/core0.2.9 or later
  • napi-postinstall0.3.2 or later
  • got-fetch6.0.0 or later

Affected products

ProductAffected versionsFixed in
prettier eslint-config-prettier8.10.1, 9.1.1, 10.1.6, 10.1.7—
prettier eslint-plugin-prettier4.2.2, 4.2.3—
un-ts synckit0.11.9—
un-ts pkgr\/core0.2.8—
alexghr got-fetch5.1.1, 5.1.2—
un-ts napi-postinstall0.3.1—
homarr homarr1.29.0 ≤ v < 1.30.01.30.0
eslint-config-prettiernpm8.10.1 ≤ v < 8.10.2, 9.1.1 ≤ v < 9.1.2, 10.1.6 ≤ v < 10.1.88.10.2, 9.1.2, 10.1.8
eslint-plugin-prettiernpm4.2.2 ≤ v < 4.2.44.2.4
synckitnpm0.11.9 ≤ v < 0.11.100.11.10
@pkgr/corenpm0.2.8 ≤ v < 0.2.90.2.9
napi-postinstallnpm0.3.1 ≤ v < 0.3.20.3.2
got-fetchnpm5.1.11 ≤ v < 6.0.06.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.