Zero-day vulnerability in eslint-config-prettier

Embedded malicious code (backdoor)
CVE-2025-54313

Vulnerability details

Advisory: SB2025072318 - Backdoor in Prettier eslint-config-prettier

Vulnerable component: eslint-config-prettier

CVE-ID: CVE-2025-54313

CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C

CWE-ID: CWE-506 - Embedded Malicious Code

Description:

The vulnerability allows a remote attacker to gain unauthorized access to the application.

The vulnerability exists due to presence of embedded malicious code in the application caused by maintainer account compromise on July 18. A remote attacker can compromise the affected system.

Reportedly the issue affects Microsoft Windows installations only.

External links:

https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only

https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise