Embedded malicious code (backdoor) in eslint-config-prettier - CVE-2025-54313

 

Embedded malicious code (backdoor) in eslint-config-prettier - CVE-2025-54313

Published: July 23, 2025


Vulnerability identifier: #VU113168
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2025-54313
CWE-ID: CWE-506
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Prettier
Affected software:
eslint-config-prettier

Detailed vulnerability 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.


How to mitigate CVE-2025-54313

If you are using one of the affected versions, you need to perform investigation into this security incident to assess damage done by malicious activity.

Sources