CVE-2025-54313

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N · source cna
Exploit chance (EPSS)
5.125%
chance of exploitation in the next 30 days
higher than 92.5% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2026-01-22
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability namePrettier eslint-config-prettier Embedded Malicious Code Vulnerability
Vendor / productPrettier / eslint-config-prettier
Date added2026-01-22
Federal remediation due date2026-02-12
Required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impactpartial
Scored2026-01-23

Timeline

  1. 2025-07-19Published by the CNA00:00 UTC
  2. 2025-07-19GitHub advisory published (GHSA-f29h-pxvx-f335)same day
  3. 2026-01-22Added to the CISA KEV catalog187 days after publication
  4. 2026-01-23CISA SSVC decision recorded188 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-f29h-pxvx-f335, affected packages:

PackageVulnerable versionsFixed in
npm @pkgr/corefrom 0.2.8 before 0.2.90.2.9
npm eslint-config-prettierfrom 10.1.6 before 10.1.810.1.8
npm eslint-config-prettierfrom 8.10.1 before 8.10.28.10.2
npm eslint-config-prettierfrom 9.1.1 before 9.1.29.1.2
npm eslint-plugin-prettierfrom 4.2.2 before 4.2.44.2.4

3 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
prettier eslint-config-prettier10.1.6no fix listed10.1.7no fix listed8.10.1no fix listed9.1.1no fix listednot listednot listednot listednot listed
alexghr got-fetch5.1.1no fix listed5.1.2no fix listednot listednot listed
homarr homarrfrom 1.29.0 before 1.30.0fixed in 1.30.01.30.0
prettier eslint-plugin-prettier4.2.2no fix listed4.2.3no fix listednot listednot listed
un-ts napi-postinstall0.3.1no fix listednot listed
un-ts pkgr/core0.2.8no fix listednot listed
un-ts synckit0.11.9no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources