CVE-2025-54313 kev in the critical feed json
eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code
published 2025-07-19 15 mo ago modified 2026-06-17 4 mo ago also GHSA-f29h-pxvx-f335 , EUVD-2025-21972
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Exploited
- added 2026-01-22
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
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.
- npm eslint-config-prettier 8.10.2, 9.1.2, 10.1.8
- npm eslint-plugin-prettier 4.2.4
- npm synckit 0.11.10
- npm @pkgr/core 0.2.9
- npm napi-postinstall 0.3.2
- npm got-fetch 6.0.0
- homarr homarr 1.30.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-54313 updated cvss 7.5
eslint-config-prettier: Eslint-config-prettier Supply Chain Compromise
-
Red Hat Migration Toolkit for Virtualization mtv-candidate/mtv-console-plugin-rhel9, migration-toolkit-virtualization/mtv-console-plugin-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-console-plugin-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-hub-api-rhel9, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, +2 more Red Hat OpenShift Serverless openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9, rhdh/rhdh-rhel9-operator Red Hat Enterprise Linux 7 firefox, thunderbirdnot affected: vulnerable code not present
+13 more productsfewer
Red Hat Enterprise Linux 8 firefox, grafana, thunderbird, grafana-loki, grafana-mssql, grafana-mysql, +10 more Red Hat Enterprise Linux 9 gjs, polkit, firefox, grafana, firefox-x11, polkit-libs, +2 more Red Hat Enterprise Linux 10 gjs, firefox, grafana, thunderbird Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parent Red Hat OpenShift AI (RHOAI) rhoai/odh-rhel8-operator, rhods/odh-rhel8-operator, rhoai/odh-dashboard-rhel8, rhoai/odh-dashboard-rhel9, rhoai/odh-modelmesh-rhel8, rhods/odh-dashboard-rhel8, +39 more Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-console-rhel9 Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel9 Red Hat OpenShift distributed tracing 3 rhosdt/tempo-jaeger-query-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/dex-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/must-gather-rhel8, openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/console-plugin-rhel8, +2 more Red Hat Process Automation 7 org.kie-process-migration-service Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9 Red Hat streams for Apache Kafka 2 com.github.streamshub-console
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 9 mo ago
- Patch by
- 2026-02-12 (8 mo ago)
- Ransomware
- Not known
- 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.
- Vendor, product
- Prettier, eslint-config-prettier
- CISA name
- Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
5.13% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bleepingcomputer.com https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ referenced PoC, tagged "exploit" by a source, unverified
- stepsecurity.io https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | eslint-config-prettier | >=8.10.1, <8.10.2 >=9.1.1, <9.1.2 >=10.1.6, <10.1.8 |
8.10.2 9.1.2 10.1.8 |
| npm | eslint-plugin-prettier | >=4.2.2, <4.2.4 |
4.2.4 |
| npm | synckit | >=0.11.9, <0.11.10 |
0.11.10 |
| npm | @pkgr/core | >=0.2.8, <0.2.9 |
0.2.9 |
| npm | napi-postinstall | >=0.3.1, <0.3.2 |
0.3.2 |
| npm | got-fetch | >=5.1.11, <6.0.0 |
6.0.0 |
Affected products
- prettier eslint-config-prettier
Classification
- Weakness
-
- CWE-506 Embedded Malicious Code
References
-
github.com
/prettier/eslint-config-prettier/commit/9b0b0a47ec28a7a83cf65e8436a8776910379385
web
-
github.com
/prettier/eslint-plugin-prettier/commit/ec39dd4400f10c52d10cd991c10fa8de51ceb854
web
-
github.com
/un-ts/napi-postinstall/commit/38b4e95cf554e2549b9e1e2c4ff6bff4da9a65f9
web
-
github.com
/un-ts/pkgr/commit/e1420c99e44d8a2ae949381f9fbe1af5ba9cb1dd
web
-
github.com
/un-ts/synckit/commit/8f2ee32d4f75736a1c8d7e1101190a71e48909e4
web
-
bleepingcomputer.com
/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
exploit, third-party-advisory
-
stepsecurity.io
/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
web, exploit, third-party-advisory
-
socket.dev
/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
web, third-party-advisory
-
github.com
/prettier/eslint-config-prettier/issues/339
web, issue-tracking
-
npmjs.com
/package/eslint-config-prettier?activeTab=versions
web, product
-
news.ycombinator.com
/item?id=44609732
web, issue-tracking
-
news.ycombinator.com
/item?id=44608811
web, issue-tracking
-
github.com
/community-scripts/ProxmoxVE/discussions/6115
web, third-party-advisory
-
endorlabs.com
/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
web, third-party-advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2025-54313
advisory
-
bleepingcomputer.com
/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware
web
-
secure.software
/npm/packages/got-fetch
web
-
github.com
/prettier/eslint-config-prettier
package
-
checkmarx.com
/zero-post/supply-chain-phishing-campaign-drops-more-malware-into-npm-got-fetch-5-1
web
Sources
- CVE List CVE-2025-54313
- GitHub Advisory GHSA-f29h-pxvx-f335
- NVD CVE-2025-54313
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.