Vulnerability · CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Published Jul 19, 2025 · catalog updated Jun 17, 2026 · Prettier
Patch now
CVE-2025-54313 is in the CISA known-exploited catalog, due Feb 12, 2026. Confirm Prettier against the vendor advisory and apply that fix. The CVSS score does not change the priority.
- Severity
- High7.5
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 4.93%
- Remediation
- Remediation guidance
- Affected products
- cpe alexghr/got-fetch · cpe homarr/homarr · cpe prettier/eslint-config-prettier · cpe prettier/eslint-plugin-prettier · cpe un-ts/napi-postinstall · cpe un-ts/pkgr/core
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe alexghr/got-fetch5.1.1
- cpe homarr/homarrversion unspecified
- cpe prettier/eslint-config-prettier10.1.6
- cpe prettier/eslint-config-prettier10.1.7
- cpe prettier/eslint-config-prettier8.10.1
- cpe prettier/eslint-config-prettier9.1.1
- cpe prettier/eslint-plugin-prettier4.2.2
- cpe prettier/eslint-plugin-prettier4.2.3
- cpe un-ts/napi-postinstall0.3.1
- cpe un-ts/pkgr/core0.2.8
- cpe un-ts/synckit0.11.9
- vendor Prettier eslint-config-prettierversion unspecified
How to fix CVE-2025-54313
Recommended remediation
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 due date Feb 12, 2026.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-54313 is in the CISA known-exploited catalog, due Feb 12, 2026. Confirm Prettier against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with 5.1.1, 10.1.6, 10.1.7, 8.10.1, 9.1.1, 4.2.2. 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 should an analyst verify?
CWE-506. EPSS 4.93%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Jul 19, 2025 · Catalog
Detected
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.
Jan 22, 2026 · CISA KEV
Known exploited
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Feb 12, 2026 · CISA KEV
Remediation due
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Jun 17, 2026 · Catalog
Updated
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.
Sources
- CISA KEVConfirmed exploitationCVE-2025-54313
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.
cisa.gov - CVE.orgVulnerability recordCVE-2025-54313
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-54313
30-day exploitation probability 4.9%
first.org - NIST NVDVulnerability recordCVE-2025-54313
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.
nvd.nist.gov - VulnCheck KEVConfirmed exploitationCVE-2025-54313
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.
vulncheck.com
References
- Third Party Advisory · github.com
- Issue Tracking · github.com
- CISA note · github.com
- Issue Tracking · news.ycombinator.com
- Issue Tracking · news.ycombinator.com
- CISA note · nvd.nist.gov
- VulnCheck exploitation evidence · safedep.io
- VulnCheck exploitation evidence · snyk.io
- Third Party Advisory · socket.dev
- Exploit · bleepingcomputer.com
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · crowdstrike.com
- VulnCheck exploitation evidence · endorlabs.com
- CISA note · npmjs.com
- VulnCheck exploitation evidence · recordedfuture.com
- Exploit · stepsecurity.io
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.