{"id":"CVE-2025-54313","aliases":["GHSA-f29h-pxvx-f335"],"url":"https://o3.security/vulnerability/CVE-2025-54313","summary":"eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code","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.","published":"2025-07-19T00:00:00Z","modified":"2026-08-12T03:51:08.394059276Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N"},"epss":{"score":0.04348,"percentile":0.90647,"asOf":"2026-09-11"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"eslint-config-prettier","fixedVersion":"8.10.2"},{"ecosystem":"npm","name":"eslint-config-prettier","fixedVersion":"9.1.2"},{"ecosystem":"npm","name":"eslint-config-prettier","fixedVersion":"10.1.8"},{"ecosystem":"npm","name":"eslint-plugin-prettier","fixedVersion":"4.2.4"},{"ecosystem":"npm","name":"synckit","fixedVersion":"0.11.10"},{"ecosystem":"npm","name":"@pkgr/core","fixedVersion":"0.2.9"},{"ecosystem":"npm","name":"napi-postinstall","fixedVersion":"0.3.2"},{"ecosystem":"npm","name":"got-fetch","fixedVersion":"6.0.0"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:08.394059276Z"}}