{"id":"CVE-2025-54313","details":"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.","aliases":["GHSA-f29h-pxvx-f335"],"modified":"2026-08-12T03:51:08.394059276Z","published":"2025-07-19T00:00:00Z","database_specific":{"cwe_ids":["CWE-506"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54313.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"8.10.1"},{"last_affected":"8.10.1"},{"introduced":"9.1.1"},{"last_affected":"9.1.1"},{"introduced":"10.1.6"},{"last_affected":"10.1.6"},{"introduced":"10.1.7"},{"last_affected":"10.1.7"}]}],"cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/community-scripts/ProxmoxVE/discussions/6115"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=44608811"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=44609732"},{"type":"WEB","url":"https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313"},{"type":"WEB","url":"https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only"},{"type":"WEB","url":"https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54313.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54313"},{"type":"REPORT","url":"https://github.com/prettier/eslint-config-prettier/issues/339"},{"type":"ARTICLE","url":"https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise"},{"type":"ARTICLE","url":"https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alexghr/got-fetch","events":[{"introduced":"91d71081b3185a6bf9c6765512947789de0f2f2a"},{"last_affected":"f553ecde7c2dd5e7c48f166e53bb310540b42aaa"}],"database_specific":{"cpe":["cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:*","cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:*"],"extracted_events":[{"introduced":"5.1.1"},{"last_affected":"5.1.1"},{"introduced":"5.1.2"},{"last_affected":"5.1.2"}],"source":"CPE_STRING"}}],"versions":["5.1.1","5.1.2","v5.1.2","v5.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/homarr-labs/homarr","events":[{"introduced":"c2305d4e276e3627c18c3aaa4cbcfbb1d6388570"},{"fixed":"fd62524db309429db1f233b1d0feb8e6ab4efd2d"}],"database_specific":{"cpe":"cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.29.0"},{"fixed":"1.30.0"}],"source":"CPE_RANGE"}}],"versions":["v1.29.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/un-ts/pkgr","events":[{"introduced":"d114886817220e2fe6c5737460edac13527096a5"},{"last_affected":"d114886817220e2fe6c5737460edac13527096a5"}],"database_specific":{"extracted_events":[{"introduced":"0.2.8"},{"last_affected":"0.2.8"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:un-ts:pkgr\\/core:0.2.8:*:*:*:*:node.js:*:*"}}],"versions":["0.2.8","@pkgr/webpack@0.5.5","@pkgr/webpack-vue@0.2.8","@pkgr/webpack-svelte@0.1.7","@pkgr/webpack-react@0.2.11","@pkgr/webpack-mdx@0.2.4","@pkgr/webpack-angular@0.2.3","@pkgr/utils@0.3.8","@pkgr/umd-globals@0.3.2","@pkgr/rollup@0.9.5","@pkgr/named-exports@0.4.3","@pkgr/imagemin@0.3.7","@pkgr/es-modules@0.2.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N"}]}