CVEBrief

Home / prettier / eslint-config-prettier / CVE-2025-54313

CVE-2025-54313: is it exploited, and which versions of eslint-config-prettier are affected and fixed?

CVE-2025-54313 is an embedded Malicious Code vulnerability in eslint-config-prettier, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on January 22, 2026, with a federal due date of February 12, 2026. Affected: eslint-config-prettier from 8.10.1 before 8.10.2, eslint-config-prettier from 9.1.1 before 9.1.2, eslint-config-prettier from 10.1.6 before 10.1.8 and 5 more (GitHub advisory GHSA-f29h-pxvx-f335). Fixed in 8.10.2, 9.1.2, 10.1.8, 4.2.4 and 2 more (GitHub advisory GHSA-f29h-pxvx-f335). Severity: High (7.5, CVSS 3.1, from mitre).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.

Exploited in the wild
Yes, CISA KEV
added January 22, 2026, due February 12, 2026
Affected
eslint-config-prettier from 8.10.1 before 8.10.2, eslint-config-prettier from 9.1.1 before 9.1.2, eslint-config-prettier from 10.1.6 before 10.1.8 and 5 more
GitHub advisory GHSA-f29h-pxvx-f335
Fixed in
8.10.2, 9.1.2, 10.1.8, 4.2.4 and 2 more
GitHub advisory GHSA-f29h-pxvx-f335
Severity
High 7.5
CVSS 3.1 from mitre
Exploit odds (EPSS)
5.12% in 30 days
higher than 93% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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.

From the CVE record by mitre, last updated February 26, 2026, 17:50 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
prettiereslint-config-prettier8.10.1
9.1.1
10.1.6
10.1.7

As the CVE record by mitre states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmeslint-config-prettier>= 8.10.1, < 8.10.28.10.2GHSA-f29h-pxvx-f335
npmeslint-config-prettier>= 9.1.1, < 9.1.29.1.2GHSA-f29h-pxvx-f335
npmeslint-config-prettier>= 10.1.6, < 10.1.810.1.8GHSA-f29h-pxvx-f335
npmeslint-plugin-prettier>= 4.2.2, < 4.2.44.2.4GHSA-f29h-pxvx-f335
npmsynckit>= 0.11.9, < 0.11.100.11.10GHSA-f29h-pxvx-f335
npm@pkgr/core>= 0.2.8, < 0.2.90.2.9GHSA-f29h-pxvx-f335
npmnapi-postinstall>= 0.3.1, < 0.3.20.3.2GHSA-f29h-pxvx-f335
npmgot-fetch>= 5.1.11, < 6.0.06.0.0GHSA-f29h-pxvx-f335

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 22, 2026. Summary: eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
prettiereslint-config-prettier8.10.1application
prettiereslint-config-prettier9.1.1application
prettiereslint-config-prettier10.1.6application
prettiereslint-config-prettier10.1.7application
prettiereslint-plugin-prettier4.2.2application
prettiereslint-plugin-prettier4.2.3application
un-tssynckit0.11.9application
un-tspkgr\/core0.2.8application
alexghrgot-fetch5.1.1application
alexghrgot-fetch5.1.2application
un-tsnapi-postinstall0.3.1application
homarrhomarrfrom 1.29.0 before 1.30.0application

NVD analysis (status Analyzed), last modified June 17, 2026, 09:39 UTC.

How severe is CVE-2025-54313?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:Nmitre

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-54313 exploited in the wild?

CISA KEV
Listed as Prettier eslint-config-prettier Embedded Malicious Code Vulnerability, added January 22, 2026; federal agencies must act by February 12, 2026
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.
Ransomware use
Unknown
CISA's summary
Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.
CISA SSVC
Exploitation: active; automatable: no; technical impact: partial (CISA ADP, January 23, 2026)
EPSS
5.12% probability of exploitation activity in the next 30 days, percentile 92.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
July 19, 2025
Published
July 19, 2025, 00:00 UTC
CVE record updated
February 26, 2026, 17:50 UTC by mitre
NVD
Analyzed, last modified June 17, 2026, 09:39 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD · CISA KEV

Questions about CVE-2025-54313

Is CVE-2025-54313 exploited in the wild?

Yes. CISA added CVE-2025-54313 to its Known Exploited Vulnerabilities catalog on January 22, 2026 and set federal agencies a due date of February 12, 2026. FIRST's EPSS gives it a 5.12% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of eslint-config-prettier are affected by CVE-2025-54313?

eslint-config-prettier from 8.10.1 before 8.10.2, eslint-config-prettier from 9.1.1 before 9.1.2, eslint-config-prettier from 10.1.6 before 10.1.8, eslint-plugin-prettier from 4.2.2 before 4.2.4, synckit from 0.11.9 before 0.11.10, @pkgr/core from 0.2.8 before 0.2.9 and 2 more, per the GitHub advisory GHSA-f29h-pxvx-f335. The tables above give every range the sources list.

Which version fixes CVE-2025-54313?

8.10.2, 9.1.2, 10.1.8, 4.2.4, 0.11.10 and 0.2.9, per the GitHub advisory GHSA-f29h-pxvx-f335. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-54313?

High (7.5, CVSS 3.1, from mitre). The severity table above shows each score with its source.

Where is the official record of CVE-2025-54313?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.