CVEvulnerability

CVE-2025-54313

7.5 HIGH Known exploited Published 2025-07-19 Modified 2026-06-17 Official page ↗

CISA Known Exploited Vulnerability

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability — Prettier eslint-config-prettier

Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.

Added to KEV
2026-01-22
Remediation due
2026-02-12
Ransomware use
Unknown
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.
Notes
This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions ; https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490 ; https://nvd.nist.gov/vuln/detail/CVE-2025-54313
Status
Analyzed
Published
2025-07-19
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Weaknesses
CWE-506

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 configurations

• prettier eslint-config-prettier 8.10.1 • prettier eslint-config-prettier 9.1.1 • prettier eslint-config-prettier 10.1.6 • prettier eslint-config-prettier 10.1.7 • prettier eslint-plugin-prettier 4.2.2 • prettier eslint-plugin-prettier 4.2.3 • un-ts synckit 0.11.9 • un-ts pkgr\/core 0.2.8 • alexghr got-fetch 5.1.1 • alexghr got-fetch 5.1.2 • un-ts napi-postinstall 0.3.1 • homarr homarr (>= 1.29.0 < 1.30.0)

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References