Sovra Recon·Actively exploited

CVE-2025-54313Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

At a glance

CVE-2025-54313 is a high-severity vulnerability (CVSS score 7.5) affecting eslint-config-prettier (Prettier). CISA has confirmed that attackers have been exploiting it since January 22, 2026.

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.

Details

The vulnerability in detail

CVE ID
CVE-2025-54313
Vendor
Prettier
Product
eslint-config-prettier
Severity (CVSS)
High · 7.5 / 10
Published
July 19, 2025
Actively exploited
Yes, confirmed by CISA on January 22, 2026
Used in ransomware
Not reported
CERT-FR advisory (in French)
CERTFR-2026-AVI-0109
Weakness type (CWE)
CWE-506

What to do

How to protect against CVE-2025-54313

  • Check whether you are affected: On a Windows workstation or server: Settings → Windows Update → Update history, or winver. Check that the monthly cumulative update named in the advisory is installed.
  • Apply the vendor's patch as a priority on Internet-facing systems, since this vulnerability is already being exploited.
  • If no patch is available, apply the published workarounds or take the service off the Internet.
  • Look for signs of compromise: a vulnerability exploited before you patched may already have been used. Review your logs and the indicators published by the vendor.

Sources

Official descriptions from NVD and CISA, in their original wording.

Patching a CVE is not enough.

The vulnerabilities specific to your application have no CVE. Our AI agents hunt for them by actually attacking your systems.