Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-54313 — eslint-config-prettier

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-506 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity high, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: None.

Weakness class

CVE-2025-54313 is classified as CWE-506: Embedded Malicious Code. The product contains code that appears to be malicious in nature.

Affected software

CVE-2025-54313 is recorded against 8 packages.

  • @pkgr/core
  • eslint-config-prettier
  • eslint-plugin-prettier
  • got-fetch
  • homarr (from 1.29.0 up to 1.30.0)
  • napi-postinstall
  • pkgr\/core
  • synckit

Timeline and source

Published on 19 July 2025 and last revised on 3 February 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
www.stepsecurity.io (Web)
www.npmjs.com (Web)
www.endorlabs.com (Web)
www.cisa.gov (Web)
www.bleepingcomputer.com (Web)
socket.dev (Web)
secure.software (Web)
news.ycombinator.com (Web)
news.ycombinator.com (Web)
github.com (Package)
github.com (Web)
checkmarx.com (Web)

Other advisories for this package

@pkgr/core has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-506: Embedded Malicious Code) in other software:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
CWE CWE-506
Public Exploit ✅ No
Source NVD
Published 2025-07-19
Updated 2026-08-20
Modified 2026-02-03
Fix URL N/A

Affected Packages

Software From version Fixed in
@pkgr/core
eslint-config-prettier
eslint-plugin-prettier
got-fetch
homarr 1.29.0 1.30.0
napi-postinstall
pkgr\/core
synckit

References

Similar Threats

Site Security Check

Is eslint-config-prettier part of your stack?

CVE-2025-54313 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025