7.5High KEV

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

prettier eslint-config-prettier Published: (1 year ago)

Known exploited — Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

CISA confirmed this vulnerability is used in real attacks on 22.01.2026. Remediation deadline for US federal agencies: 12.02.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. This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions ; https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490 ; https://nvd.nist.gov/vuln/detail/CVE-2025-54313

Description

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.

Weakness (CWE): CWE-506

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
alexghr got-fetch 5.1.1
homarr homarr 1.29.0 – < 1.30.0
prettier eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, 10.1.7
prettier eslint-plugin-prettier 4.2.2
un-ts napi-postinstall 0.3.1
un-ts pkgr/core 0.2.8
un-ts synckit 0.11.9

References and patches

CPE matches (NVD) (12)

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