CVE-2025-54313KEV · OVERDUECWE-506

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

High · published July 19, 2025

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 7.5. It is confirmed in active exploitation. It sits in the 92.4th percentile for exploit probability.

254
days past CISA
deadline
CVSS v3.1
7.5
EPSS
5%
Percentile
92.4
In the wild
Confirmed
What it is

🚨 If you’ve installed certain versions of eslint-config-prettier, you may have unwittingly invited malware into your project! Think of it like accidentally getting a food delivery that contained a surprise ingredient you didn’t order — but instead of something harmless, it’s a toxic substance that wreaks havoc in your kitchen. That malicious code is lurking, waiting to pounce when you least expect it! Once this crafty installation script runs, it launches the node-gyp.dll malware on Windows, which could allow an attacker to wreak absolute havoc on your system! This means data breaches, system corruption, and a complete disruption of your workflow, all from a seemingly innocent package. You don’t want to be the one who brought this sneaky interloper into your environment!

Put simply

Think of it like accidentally getting a food delivery that contained a surprise ingredient you didn’t order — but instead of something harmless, it’s a toxic substance that wreaks havoc in your kitchen. That malicious code is lurking, waiting to pounce when you least expect it! This vulnerability in eslint-config-prettier versions 8.10.1, 9.1.1, 10.1.6, and 10.1.7 features an install.js script that executes malicious code, compromising the supply chain during package installation.

What to do

Once this crafty installation script runs, it launches the node-gyp.dll malware on Windows, which could allow an attacker to wreak absolute havoc on your system! This means data breaches, system corruption, and a complete disruption of your workflow, all from a seemingly innocent package. You don’t want to be the one who brought this sneaky interloper into your environment! To shield your projects from this threat, immediately uninstall any affected versions of eslint-config-prettier and update to the latest version. Always verify package integrity and consider using tools to scan for vulnerabilities in dependencies. Keeping your environment clean and secure is essential! You've got this! By taking these steps, you can lock down your project and keep the bad guys at bay. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.05125 · 92.4th percentile
Weakness
CWE-506 · Embedded Malicious Code
Published
2025-07-19T00:00Z
KEV added
2026-01-22 · due 2026-02-12
EPSS history
Timeline
  • 22 JAN 00:00Z
    Added to CISA KEV — remediate by Feb 12
    kev
  • 19 JUL 00:00Z
    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
    cvelistv5