Skip to content
Fencer Vulns
high 7.5

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, thunderbird
    +13 more products
    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
    not affected: vulnerable code not present

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

  1. Published
  2. Added to CISA KEV
  3. CISA SSVC: exploitation active
  4. 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

References

Sources

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.