CyberSecBulletin
CVE-2025-54313Exploited in the wildNVD status: Analyzed

Prettier eslint-config-prettier Embedded Malicious Code

CVE-2025-54313 is a high-severity embedded malicious code vulnerability in eslint-config-prettier from Prettier, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected eslint-config-prettier versions: 8.10.1; 9.1.1; 10.1.6, and others listed below. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on January 22, 2026, which means attacks have been observed in the wild.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Update Homarr to 1.30.0 or a later version.
  2. CISA's 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.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Prettiereslint-config-prettier8.10.1; 9.1.1; 10.1.6; 10.1.7Not stated
PrettierEslint-plugin-prettier4.2.2; 4.2.3Not stated
Un-tsSynckit0.11.9Not stated
Un-tsPkgr/core0.2.8Not stated
AlexghrGot-fetch5.1.1; 5.1.2Not stated
Un-tsNapi-postinstall0.3.1Not stated
HomarrHomarr1.29.0 up to, but not including, 1.30.01.30.0

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
ChangedThe attack can reach beyond the vulnerable component into other systems.
Confidentiality
LowSome restricted data can be read.
Integrity
HighData or code can be modified at will.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N. Scored by CNA (mitre.org).

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Embedded Malicious Code

The product contains code that appears to be malicious in nature.

How developers prevent this class of flaw

  • Remove the malicious code and start an effort to ensure that no more malicious code exists. This may require a detailed review of all code, as it is possible to hide a serious attack in only one or two lines of code. These lines may be located almost anywhere in an application and may have been intentionally obfuscated by the attacker.

More Embedded Malicious Code vulnerabilities (CWE-506)

Timeline

  1. CVE record published.
  2. Added to CISA's Known Exploited Vulnerabilities catalogue.
  3. CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: partial).
  4. Deadline for US federal agencies to remediate, set by CISA.
  5. Record last changed materially (score, affected products, status or references).

References

Recent Embedded Malicious Code vulnerabilities

Spotted an error? Tell us.