PoC Monitor
← All CVEs
CVE-2025-54313published 19 Jul 2025 00:00 UTCData: JSON · API

Prettier eslint-config-prettier

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

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.

First public PoC 7.5 daysafter publication · 26 Jul 2025
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-506
CISA KEV 22 Jan 2026187 days after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

prettier eslint-config-prettier
  • 8.10.1
  • 9.1.1
  • 10.1.6
  • 10.1.7
eslint-config-prettier (npm)
  • >= 8.10.1, < 8.10.2

Fixed in 8.10.2

from GitHub Security Advisory GHSA-f29h-pxvx-f335

eslint-config-prettier (npm)
  • >= 9.1.1, < 9.1.2

Fixed in 9.1.2

from GitHub Security Advisory GHSA-f29h-pxvx-f335

eslint-config-prettier (npm)
  • >= 10.1.6, < 10.1.8

Fixed in 10.1.8

from GitHub Security Advisory GHSA-f29h-pxvx-f335

eslint-plugin-prettier (npm)
  • >= 4.2.2, < 4.2.4

Fixed in 4.2.4

from GitHub Security Advisory GHSA-f29h-pxvx-f335

synckit (npm)
  • >= 0.11.9, < 0.11.10

Fixed in 0.11.10

from GitHub Security Advisory GHSA-f29h-pxvx-f335

@pkgr/core (npm)
  • >= 0.2.8, < 0.2.9

Fixed in 0.2.9

from GitHub Security Advisory GHSA-f29h-pxvx-f335

napi-postinstall (npm)
  • >= 0.3.1, < 0.3.2

Fixed in 0.3.2

from GitHub Security Advisory GHSA-f29h-pxvx-f335

got-fetch (npm)
  • >= 5.1.11, < 6.0.0

Fixed in 6.0.0

from GitHub Security Advisory GHSA-f29h-pxvx-f335

Mitigation

Upgrade eslint-config-prettier to 8.10.2 or later.

Upgrade eslint-config-prettier to 9.1.2 or later.

Upgrade eslint-config-prettier to 10.1.8 or later.

Upgrade eslint-plugin-prettier to 4.2.4 or later.

Upgrade synckit to 0.11.10 or later.

Upgrade @pkgr/core to 0.2.9 or later.

Upgrade napi-postinstall to 0.3.2 or later.

Upgrade got-fetch to 6.0.0 or later.

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180CVE published19 Jul 2025 · t = 0First public PoC26 Jul 2025 · t+7.5dAdded to CISA KEV22 Jan 2026 · t+187d

First public PoC 7.5 days after publication; added to CISA KEV 187 days after publication. First PoC: nihilor/cve-2025-54313 (created 26 Jul 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs · 1 informational

PoCs 1
RepositoryCreatedStarsAssessment
nihilor/cve-2025-54313 26 Jul 2025 +7.5 d 0 PoC
Informational 1
RepositoryCreatedStarsAssessment
Paspke/scavenger_scanner 26 Jul 2025 +7.9 d 0 Informational · detection

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.