{"cve":"CVE-2025-54313","nvd":{"published":"2025-07-19T17:15:23.733","modified":"2026-06-17T09:39:49.897","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N","score":7.5},"cwes":["CWE-506"],"references":["https://github.com/prettier/eslint-config-prettier/issues/339","https://news.ycombinator.com/item?id=44608811","https://news.ycombinator.com/item?id=44609732","https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise","https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/"],"products":["alexghr:got-fetch","homarr:homarr","prettier:eslint-config-prettier","prettier:eslint-plugin-prettier","un-ts:napi-postinstall","un-ts:pkgr\\/core","un-ts:synckit"],"source":"nvd","synced_at":"2026-10-19T22:05:46.678065081+00:00"},"epss":{"cve":"CVE-2025-54313","score":0.05125,"percentile":0.92393,"date":"2026-10-31"},"kev":{"cve":"CVE-2025-54313","date_added":"2026-01-22","due_date":"2026-02-12","vendor":"Prettier","product":"eslint-config-prettier","known_ransomware":false},"osv":[{"id":"GHSA-f29h-pxvx-f335","url":"https://osv.dev/vulnerability/GHSA-f29h-pxvx-f335","summary":"eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code","modified":"2026-02-03T03:09:09.088269Z","packages":[{"ecosystem":"npm","name":"eslint-config-prettier","purl":"pkg:npm/eslint-config-prettier","ranges":[">=8.10.1 <8.10.2"],"fixed":["8.10.2"]},{"ecosystem":"npm","name":"eslint-config-prettier","purl":"pkg:npm/eslint-config-prettier","ranges":[">=9.1.1 <9.1.2"],"fixed":["9.1.2"]},{"ecosystem":"npm","name":"eslint-config-prettier","purl":"pkg:npm/eslint-config-prettier","ranges":[">=10.1.6 <10.1.8"],"fixed":["10.1.8"]},{"ecosystem":"npm","name":"eslint-plugin-prettier","purl":"pkg:npm/eslint-plugin-prettier","ranges":[">=4.2.2 <4.2.4"],"fixed":["4.2.4"]},{"ecosystem":"npm","name":"synckit","purl":"pkg:npm/synckit","ranges":[">=0.11.9 <0.11.10"],"fixed":["0.11.10"]},{"ecosystem":"npm","name":"@pkgr/core","purl":"pkg:npm/%40pkgr/core","ranges":[">=0.2.8 <0.2.9"],"fixed":["0.2.9"]},{"ecosystem":"npm","name":"napi-postinstall","purl":"pkg:npm/napi-postinstall","ranges":[">=0.3.1 <0.3.2"],"fixed":["0.3.2"]},{"ecosystem":"npm","name":"got-fetch","purl":"pkg:npm/got-fetch","ranges":[">=5.1.11 <6.0.0"],"fixed":["6.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}