Summary
CVE-2025-54313 is an embedded malicious code vulnerability in Prettier eslint-config-prettier, rated high severity with a CVSS base score of 7.5.
CISA added it to the Known Exploited Vulnerabilities catalogue on 22 January 2026, which means there is reliable evidence that attackers have exploited it.
It can be exploited remotely over a network without needing an account.
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.
Key facts
- Affected product
- Prettier · eslint-config-prettier
- CVSS severity
- High7.5CVSS v3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- EPSS (exploitation likelihood, next 30 days)
- 5.12%Higher than 92.6% of all scored CVEs
- Weakness (CWE)
- CWE-506
- Added to CISA KEV
- CISA due date (US federal agencies)
- First published (NVD)
- NVD status
- Analyzed
CISA 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.
What UK organisations should do
01 Patch or mitigate
- Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
- 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. CISA set a remediation due date of 12 February 2026 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
- If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.
02 Check your exposure
- Confirm whether you run Prettier eslint-config-prettier anywhere, including systems managed by suppliers or cloud providers.
- Build an inventory of affected versions across on-premises, cloud and supplier-managed systems.
- Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.
03 Monitor and respond
- Review logs for the affected product for unusual behaviour and keep the indicators of compromise in vendor advisories under review.
- If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.
Same weakness (CWE-506) in other products
- CVE-2026-8398
Daemon · Daemon Tools Lite
Tools Lite Embedded Malicious Code
Critical9.8 - CVE-2026-48027
Nx · Nx Console
Console Embedded Malicious Code
RansomwareCritical9.8 - CVE-2026-45321
TanStack · TanStack
Vulnerability
RansomwareCritical9.6 - CVE-2026-33634
Aquasecurity · Trivy
Embedded Malicious Code
High8.8 - CVE-2025-59374
ASUS · Live Update
Embedded Malicious Code
Critical9.8 - CVE-2025-30154
reviewdog · action-setup GitHub Action
/action-setup GitHub Action Embedded Malicious Code
High8.6
Sources and references
- CISA Known Exploited Vulnerabilities catalogue
- NVD record for CVE-2025-54313
- FIRST EPSS score
- npmjs.com
- github.com
- github.comIssue Tracking
- news.ycombinator.comIssue Tracking
- news.ycombinator.comIssue Tracking
- socket.devThird Party Advisory
- bleepingcomputer.comExploit · Third Party Advisory
- stepsecurity.ioExploit · Third Party Advisory
- github.comThird Party Advisory
- endorlabs.comThird Party Advisory
- cisa.govUS Government Resource
Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.