CVE-2025-54313
Exploitation confirmed. First attested on 2026-01-22 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2025-07-19
- Fixed in10.1.8 · 9.1.2 · 8.10.2
- WeaknessCWE-506
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.1 | ≥ 10.1.6, < 10.1.8 | 10.1.8 | OSV |
| 9.1 | ≥ 9.1.1, < 9.1.2 | 9.1.2 | OSV |
| 8.10 | ≥ 8.10.1, < 8.10.2 | 8.10.2 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.10 | = 8.10.1 | no fix published | NVD |
| 9.1 | = 9.1.1 | no fix published | NVD |
| 10.1 | = 10.1.6 | no fix published | NVD |
| 10.1 | = 10.1.7 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.1 | = 5.1.1 | no fix published | NVD |
| 5.1 | = 5.1.2 | no fix published | NVD |
10 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- prettier eslint-config-prettierother versions: not affectedAffected
- = 8.10.1no fix statedsemver
- = 9.1.1no fix statedsemver
- = 10.1.6no fix statedsemver
- = 10.1.7no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-07-19
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
- CVE-2025-54313 Red Hat Product Security
eslint-config-prettier: Eslint-config-prettier Supply Chain Compromise
Fix
- Update eslint-config-prettier to 10.1.8 · 9.1.2 · 8.10.2
- 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.due 2026-02-12
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01nihilor/cve-2025-54313Paspke/scavenger_scanner
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2026-01-22
- Patch Due Date
- 2026-02-12
- Ransomware Use
- Unknown
- 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.
Sources
- NVDCVE recordread 2026-10-23
- CISA KEVKEV entry2026-01-22
- ENISA EUVDexploitation2026-01-222026-01-22
- GCVEexploitation2026-01-22
- CISA-ADPSSVC decisionactive2026-01-23
- CNACVSS 3.17.5known since 2026-10-23
- CNAweakness (CWE)CWE-506known since 2026-10-23
- FIRST EPSSEPSS score5.1 %2026-11-08
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2025-07-21
Identifiers
- EUVD-2025-21972same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-f29h-pxvx-f335same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- Published
- 2025-07-19
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-f29h-pxvx-f335
Frequently asked questions
What is CVE-2025-54313?
Is CVE-2025-54313 actively exploited?
What is the CVSS score for CVE-2025-54313?
Running eslint-config-prettier? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-53770KEVsame weekMicrosoft SharePoint Server Remote Code Execution Vulnerability
- CVE-2025-25257KEVsame week
- CVE-2025-54068KEVsame weekLivewire vulnerable to remote command execution during property update hydration
- CVE-2025-54309KEVsame week
- CVE-2025-20337KEVsame weekCisco ISE API Unauthenticated Remote Code Execution Vulnerability
- CVE-2025-6558KEVsame weekchromium-browser: Chromium insufficient validation
- CVE-2025-53771same week
- CVE-2025-6965same weekInteger Truncation on SQLite
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-f29h-pxvx-f335
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0