CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code
Prettier eslint-config-prettier · listed in the CISA catalog of actively exploited vulnerabilities since 2026-01-22.
- CVSS v3.1 (CVE record)
- 7.5
- high
- EPSS (exploit probability, 30 days)
- 5.1%
- higher than 92.5% of all CVEs
- Added to CISA KEV
- 2026-01-22
- US federal due date 2026-02-12
- Automatable (CISA SSVC)
- no
- technical impact: partial
CVE-2025-54313 explained
CVE-2025-54313 is a supply chain compromise in the eslint-config-prettier package from Prettier. Versions 8.10.1, 9.1.1, 10.1.6 and 10.1.7 contain embedded malicious code. Installing one of them runs an install.js file that launches the node-gyp.dll malware on Windows. CISA lists the vulnerability as known to be exploited.
Impact
Installing an affected package version executes malicious code on the installing system and launches the node-gyp.dll malware on Windows. No privileges or user interaction beyond installation are required. The scope is changed and the integrity impact is high, so the malware can affect resources beyond the package itself. CISA rates the technical impact as partial and not automatable. CISA's catalog confirms attackers use this vulnerability. Ransomware use is unknown.
Who is affected
The CVE record lists four versions of prettier eslint-config-prettier as affected: 8.10.1, 9.1.1, 10.1.6 and 10.1.7. These are specific published releases, not ranges. The CVE record names no fixed version. The version data comes from the CNA (mitre).
Written with AI from the data on this page and checked against it automatically.
Official description
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.
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.
CISA notes
- This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: npmjs.com/package/eslint-config-prettier
- github.com/prettier/eslint-config-prettier/issues/339
- nvd.nist.gov/vuln/detail/CVE-2025-54313
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- prettier eslint-config-prettierAffectedFixed in
- 8.10.1
- 9.1.1
- 10.1.6
- 10.1.7
not stated
| Product | Affected | Fixed in |
|---|---|---|
| prettier eslint-config-prettier |
| not stated |
How to fix it
- The CVE record names no fixed version – check CISA's required action for updates and mitigations.
- CISA's deadline for US federal agencies: 2026-02-12 (passed) – a useful benchmark for everyone else, too.
What to do
- Check all projects, lockfiles and build systems for eslint-config-prettier versions
8.10.1,9.1.1,10.1.6or10.1.7. - Remove any affected version and pin dependencies to a version not listed as affected.
- Inspect Windows systems where an affected version was installed for the node-gyp.dll malware and other signs of compromise.
- Apply mitigations per vendor instructions, as CISA requires, or discontinue use if mitigations are unavailable.
- Include developer workstations and CI/CD runners in the review, since installation alone triggers the malicious code.
The CVE record names no fixed version. Remove the four affected releases and avoid reinstalling them. Follow the vendor's instructions and CISA's required action: apply mitigations per vendor instructions, follow BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. US federal agencies must act by 2026-02-12.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Partial – limited control or information
Weakness: CWE-506 Embedded Malicious Code
Questions about CVE-2025-54313
- Is CVE-2025-54313 being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2026-01-22. Whether it has been used in ransomware campaigns is unknown.
- Does simply installing the package cause harm?
- Yes. According to the description, installing an affected version executes an install.js file that launches the node-gyp.dll malware on Windows.
- Which versions should I look for?
- Look for eslint-config-prettier
8.10.1,9.1.1,10.1.6and10.1.7. The CVE record lists only these four versions and names no fixed version.
Written with AI from the data on this page and checked against it automatically.
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.