CVE-2025-54313

Exp

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.

Published: 2025-07-19 Last update: 2026-01-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-54313 is rated Critical Active Threat (91.2/100): CVSS High severity, with high exploitation likelihood (EPSS 14.67%, 95th percentile). Core evidence: CISA KEV confirms active exploitation (added 2026-01-22) affecting Prettier / eslint-config-prettier. a weakness (CWE-506) Unauthenticated remote administrative access may be possible. EPSS rose +3.06% over the last day, indicating growing attacker interest. Mandatory action: The CISA remediation deadline has passed—treat as an emergency patch priority.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

CISA KEV Record for CVE-2025-54313

Name: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability · CISA KEV detail

Exploit added: 2026-01-22

Action due: 2026-02-12

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.

Public exploit references (Exploit-DB) for CVE-2025-54313

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-54313

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-15 11.62% 14.67% +3.06%
2 2026-04-20 10.46% 11.62% +1.15%
3 2026-04-04 10.46%

Full EPSS history (21 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-54313

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.2 4.7 [email protected]

Weakness enumeration for CVE-2025-54313

GitHub Security Advisory for CVE-2025-54313

GHSA-f29h-pxvx-f335 · Severity: high · Ecosystem: npm — eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code

OS Trackers for CVE-2025-54313

Affected software / configurations for CVE-2025-54313

Vendor Product Version Raw CPE
prettier eslint-config-prettier 8.10.1 cpe:2.3:a:prettier:eslint-config-prettier:8.10.1:*:*:*:*:node.js:*:*
prettier eslint-config-prettier 9.1.1 cpe:2.3:a:prettier:eslint-config-prettier:9.1.1:*:*:*:*:node.js:*:*
prettier eslint-config-prettier 10.1.6 cpe:2.3:a:prettier:eslint-config-prettier:10.1.6:*:*:*:*:node.js:*:*
prettier eslint-config-prettier 10.1.7 cpe:2.3:a:prettier:eslint-config-prettier:10.1.7:*:*:*:*:node.js:*:*
prettier eslint-plugin-prettier 4.2.2 cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.2:*:*:*:*:node.js:*:*
prettier eslint-plugin-prettier 4.2.3 cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.3:*:*:*:*:node.js:*:*
un-ts synckit 0.11.9 cpe:2.3:a:un-ts:synckit:0.11.9:*:*:*:*:node.js:*:*
un-ts pkgr\/core 0.2.8 cpe:2.3:a:un-ts:pkgr\/core:0.2.8:*:*:*:*:node.js:*:*
alexghr got-fetch 5.1.1 cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:*
alexghr got-fetch 5.1.2 cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:*
un-ts napi-postinstall 0.3.1 cpe:2.3:a:un-ts:napi-postinstall:0.3.1:*:*:*:*:node.js:*:*
homarr homarr >= 1.29.0, < 1.30.0 cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*

References for CVE-2025-54313

URL Tags
https://github.com/prettier/eslint-config-prettier/issues/339 Issue Tracking
https://news.ycombinator.com/item?id=44608811 Issue Tracking
https://news.ycombinator.com/item?id=44609732 Issue Tracking
https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise Third Party Advisory
https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ Exploit Third Party Advisory
https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions Product
https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise Exploit Third Party Advisory
https://github.com/community-scripts/ProxmoxVE/discussions/6115 Third Party Advisory
https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 US Government Resource
cvelogic Threat Intelligence