MSRXMSRXSecurity
Vulnerabilities / CVE-2025-54313

CVE-2025-54313

Published 2025-07-19 · Analyzed

CVE-2025-54313

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

Exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-01-22, with a fix-by date of 2026-02-12. Patch it first.

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

7.5 HIGH
CVSS 3.1 · CNA · mitre.org
5.1%
chance of exploitation in the next 30 days (EPSS; higher than 92% of CVEs)

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.

Scores

Affected packages and fixed versions

PackageEcosystemFixed in
eslint-config-prettiernpm8.10.2, 9.1.2, 10.1.8
eslint-plugin-prettiernpm4.2.4
synckitnpm0.11.10
@pkgr/corenpm0.2.9
napi-postinstallnpm0.3.2
got-fetchnpm6.0.0

Affected products

  • prettier eslint-config-prettier: 8.10.1; 9.1.1; 10.1.6; 10.1.7
  • prettier eslint-plugin-prettier: 4.2.2; 4.2.3
  • un-ts synckit: 0.11.9
  • un-ts pkgr\/core: 0.2.8
  • alexghr got-fetch: 5.1.1; 5.1.2
  • un-ts napi-postinstall: 0.3.1
  • homarr homarr: ≥ 1.29.0, < 1.30.0

Weakness: CWE-506

Also known as: GHSA-f29h-pxvx-f335

10 references (advisories, patches, write-ups)

Sources: NVD, CVE.org, OSV.dev, FIRST EPSS. Missing ones did not answer or have no record yet.

Look up another CVECheck your dependenciesScan a website