Skip to main content
ExploitedIn CISA KEVFix available

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?

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 UTC
  1. 2025-07-1917:15CVE publishedNVD
  2. 2026-01-22Added to the CISA KEV catalogCISA KEV
  3. 2026-01-22Listed as exploited by GCVEGCVE
  4. 2026-01-22Exploitation first reportedCISA KEV
  5. 2026-01-2304:55SSVC exploitation set to activeCISA-ADP

Versions per branch

OSV · NVD
eslint-config-prettier
BranchAffectedFixed in
10.1≥ 10.1.6, < 10.1.810.1.8
9.1≥ 9.1.1, < 9.1.29.1.2
8.10≥ 8.10.1, < 8.10.28.10.2
Prettier eslint-config-prettierversion to verify
BranchAffectedFixed in
8.10= 8.10.1no fix published
9.1= 9.1.1no fix published
10.1= 10.1.6no fix published
10.1= 10.1.7no fix published
Alexghr got-fetchversion to verify
BranchAffectedFixed in
5.1= 5.1.1no fix published
5.1= 5.1.2no fix published

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 affected
    Affected
    • = 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

Full record on NVD

Fix

  1. Update eslint-config-prettier to 10.1.8 · 9.1.2 · 8.10.2
  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
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

Identifiers

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?

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.

Is CVE-2025-54313 actively exploited?

Yes. CVE-2025-54313 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2026-02-12.

What is the CVSS score for CVE-2025-54313?

CVE-2025-54313 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N.

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

Sources for this record