CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Yes. CVE-2025-54313 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 22 January 2026. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 5.1%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 22 January 2026
- Used in ransomware
- Not known
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 5.1% in the next 30 days, higher than 92.6% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 7.5 High (version 3.1)
- Affects
- Prettier eslint-config-prettier
- Type of flaw
- Embedded Malicious Code (CWE-506)
- Published
- 19 July 2025
- US federal patch deadline
- 12 February 2026
What it is
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.
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.
Description from the CVE record.
Is CVE-2025-54313 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2025-54313 on 22 January 2026.
Affected products
- prettier eslint-config-prettier: 8.10.1; 9.1.1; 10.1.6; 10.1.7
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's 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.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Prettier eslint-config-prettier runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in eslint-config-prettier. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Sources
- CVE record for CVE-2025-54313
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- socket.dev
- www.bleepingcomputer.com
- github.com
- www.npmjs.com
- www.stepsecurity.io
- news.ycombinator.com
- news.ycombinator.com
Machine-readable: /api/cve/CVE-2025-54313.json