cve.bz

CVE-2025-54313 Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

7.5 highKEVExploit referenceEPSS 5.1%Fix available

High (7.5) in Prettier eslint-config-prettier. In CISA KEV since 2026-01-22. EPSS 5.1% estimated probability of exploitation activity in the next 30 days. Fixed in eslint-config-prettier 10.1.8, 8.10.2, 9.1.2.

On this page
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
EPSS
5.1% (unchanged from 5.1% a week ago; 5.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-01-22, due 2026-02-12
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: partial, assessed 2026-01-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-506 Embedded Malicious Code
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

  • eslint-config-prettier (npm): fixed in 8.10.2, 9.1.2, 10.1.8
  • eslint-plugin-prettier (npm): fixed in 4.2.4
  • synckit (npm): fixed in 0.11.10
  • @pkgr/core (npm): fixed in 0.2.9
  • napi-postinstall (npm): fixed in 0.3.2
  • got-fetch (npm): fixed in 6.0.0

Ask an AI about this CVE

Show the promptExplain CVE-2025-54313 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54313?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54313?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54313 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
prettier:eslint-config-prettier8.10.1
prettier:eslint-config-prettier9.1.1
prettier:eslint-config-prettier10.1.6
prettier:eslint-config-prettier10.1.7
prettier:eslint-plugin-prettier4.2.2
prettier:eslint-plugin-prettier4.2.3
un-ts:synckit0.11.9
un-ts:pkgr/core0.2.8
alexghr:got-fetch5.1.1
alexghr:got-fetch5.1.2
un-ts:napi-postinstall0.3.1
homarr:homarrfrom 1.29.0 before 1.30.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f29h-pxvx-f335npmeslint-config-prettier>=8.10.1 <8.10.28.10.2
GHSA-f29h-pxvx-f335npmeslint-config-prettier>=9.1.1 <9.1.29.1.2
GHSA-f29h-pxvx-f335npmeslint-config-prettier>=10.1.6 <10.1.810.1.8
GHSA-f29h-pxvx-f335npmeslint-plugin-prettier>=4.2.2 <4.2.44.2.4
GHSA-f29h-pxvx-f335npmsynckit>=0.11.9 <0.11.100.11.10
GHSA-f29h-pxvx-f335npm@pkgr/core>=0.2.8 <0.2.90.2.9
GHSA-f29h-pxvx-f335npmnapi-postinstall>=0.3.1 <0.3.20.3.2
GHSA-f29h-pxvx-f335npmgot-fetch>=5.1.11 <6.0.06.0.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

No affected versions of eslint-config-prettier are shipped in any Red Hat products.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8Not affected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Not affected
Red Hat Developer Hub 1rhdh/rhdh-rhel9-operatorNot affected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gjsNot affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 7thunderbirdNot affected
70 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-54313.

Attack patterns (CAPEC)

  • CAPEC-442 Infected Software Likelihood: Medium · Severity: High
  • CAPEC-448 Embed Virus into DLL Likelihood: Medium · Severity: High
  • CAPEC-636 Hiding Malicious Data or Code within Files Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON