Vulnerabilities

CVE-2025-54313

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

Actively exploited (CISA KEV) High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-07-19
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Scored by
cve@mitre.org
Probability of exploitation
4.1 % higher than 90 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2026-01-22, with a remediation deadline of 2026-02-12 for US federal agencies.

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.

Affected products

Vendor Product Versions Status
eslint-config-prettier (npm) ≥ 10.1.6, < 10.1.8 Affected
eslint-config-prettier (npm) ≥ 8.10.1, < 8.10.2 Affected
eslint-config-prettier (npm) ≥ 9.1.1, < 9.1.2 Affected
eslint-plugin-prettier (npm) ≥ 4.2.2, < 4.2.4 Affected
got-fetch (npm) ≥ 5.1.11, < 6.0.0 Affected
napi-postinstall (npm) ≥ 0.3.1, < 0.3.2 Affected
synckit (npm) ≥ 0.11.9, < 0.11.10 Affected
Alexghr Got-fetch 5.1.1 Affected
Alexghr Got-fetch 5.1.2 Affected
Homarr Homarr ≥ 1.29.0, < 1.30.0 Affected
Microsoft Windows all versions listed Not affected
pkgr core (npm) ≥ 0.2.8, < 0.2.9 Affected
Prettier Eslint-config-prettier 10.1.6 Affected
Prettier Eslint-config-prettier 10.1.7 Affected
Prettier Eslint-config-prettier 8.10.1 Affected
Prettier Eslint-config-prettier 9.1.1 Affected
Prettier Eslint-plugin-prettier 4.2.2 Affected
Prettier Eslint-plugin-prettier 4.2.3 Affected
Un-ts Napi-postinstall 0.3.1 Affected
Un-ts Pkgr/core 0.2.8 Affected
Un-ts Synckit 0.11.9 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1001.002: Steganography command-and-control
  • T1027.003: Steganography stealth
  • T1027.004: Compile After Delivery stealth
  • T1027.009: Embedded Payloads stealth
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1195.002: Compromise Software Supply Chain initial-access
  • T1218.001: Compiled HTML File stealth
  • T1221: Template Injection stealth

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities