Skip to content
OpenAdvisories
High · 7.5 Known exploited Public exploit CVE-2025-54313 EUVD-2025-21972GHSA-f29h-pxvx-f335

eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code

Published Jul 19, 2025 · Updated Feb 26, 2026 · Assigned by mitre

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 products

VendorProductAffectedFixed
prettier eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, 10.1.7 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • nihilor/cve-2025-54313 ★ 0 · Jul 26, 2025

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

  • Paspke/scavenger_scanner ★ 0 · Jul 26, 2025

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

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @pkgr/core >= 0.2.8, < 0.2.9 0.2.9 GHSA-f29h-pxvx-f335
npm eslint-config-prettier >= 8.10.1, < 8.10.2 8.10.2 GHSA-f29h-pxvx-f335
npm eslint-config-prettier >= 9.1.1, < 9.1.2 9.1.2 GHSA-f29h-pxvx-f335
npm eslint-config-prettier >= 10.1.6, < 10.1.8 10.1.8 GHSA-f29h-pxvx-f335
npm eslint-plugin-prettier >= 4.2.2, < 4.2.4 4.2.4 GHSA-f29h-pxvx-f335
npm got-fetch >= 5.1.11, < 6.0.0 6.0.0 GHSA-f29h-pxvx-f335
npm napi-postinstall >= 0.3.1, < 0.3.2 0.3.2 GHSA-f29h-pxvx-f335
npm synckit >= 0.11.9, < 0.11.10 0.11.10 GHSA-f29h-pxvx-f335

References