{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-54313","published":"2025-07-19T17:15:23.733000Z","last_modified":"2026-06-17T09:39:49.897000Z","status":"Analyzed","cvss":{"version":"3.1","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","source":"cve@mitre.org","primary":false},"auth":false,"cwes":["CWE-506"],"cpes":[{"criteria":"cpe:2.3:a:prettier:eslint-config-prettier:8.10.1:*:*:*:*:node.js:*:*","part":"a","vendor":"prettier","product":"eslint-config-prettier","version":"8.10.1"},{"criteria":"cpe:2.3:a:prettier:eslint-config-prettier:9.1.1:*:*:*:*:node.js:*:*","part":"a","vendor":"prettier","product":"eslint-config-prettier","version":"9.1.1"},{"criteria":"cpe:2.3:a:prettier:eslint-config-prettier:10.1.6:*:*:*:*:node.js:*:*","part":"a","vendor":"prettier","product":"eslint-config-prettier","version":"10.1.6"},{"criteria":"cpe:2.3:a:prettier:eslint-config-prettier:10.1.7:*:*:*:*:node.js:*:*","part":"a","vendor":"prettier","product":"eslint-config-prettier","version":"10.1.7"},{"criteria":"cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.2:*:*:*:*:node.js:*:*","part":"a","vendor":"prettier","product":"eslint-plugin-prettier","version":"4.2.2"},{"criteria":"cpe:2.3:a:prettier:eslint-plugin-prettier:4.2.3:*:*:*:*:node.js:*:*","part":"a","vendor":"prettier","product":"eslint-plugin-prettier","version":"4.2.3"},{"criteria":"cpe:2.3:a:un-ts:synckit:0.11.9:*:*:*:*:node.js:*:*","part":"a","vendor":"un-ts","product":"synckit","version":"0.11.9"},{"criteria":"cpe:2.3:a:un-ts:pkgr\\/core:0.2.8:*:*:*:*:node.js:*:*","part":"a","vendor":"un-ts","product":"pkgr/core","version":"0.2.8"},{"criteria":"cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:*","part":"a","vendor":"alexghr","product":"got-fetch","version":"5.1.1"},{"criteria":"cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:*","part":"a","vendor":"alexghr","product":"got-fetch","version":"5.1.2"},{"criteria":"cpe:2.3:a:un-ts:napi-postinstall:0.3.1:*:*:*:*:node.js:*:*","part":"a","vendor":"un-ts","product":"napi-postinstall","version":"0.3.1"},{"criteria":"cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*","part":"a","vendor":"homarr","product":"homarr","version_start_including":"1.29.0","version_end_excluding":"1.30.0"}],"cpes_truncated":false,"vendors":["prettier","un-ts","alexghr","homarr"],"products":["prettier/eslint-config-prettier","prettier/eslint-plugin-prettier","un-ts/synckit","un-ts/pkgr-core","alexghr/got-fetch","un-ts/napi-postinstall","homarr/homarr"],"ssvc":{"exploitation":"active","automatable":"no","technical_impact":"partial"},"kev":{"date_added":"2026-01-22","due_date":"2026-02-12","ransomware":false,"forensic_triage":false,"cwes":["CWE-506"]},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"@pkgr/core","purl":"pkg:npm/%40pkgr/core","ranges":[{"introduced":"0.2.8","fixed":"0.2.9"}],"versions":["0.2.8"],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"eslint-config-prettier","purl":"pkg:npm/eslint-config-prettier","ranges":[{"introduced":"8.10.1","fixed":"8.10.2"}],"versions":["8.10.1"],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"eslint-config-prettier","purl":"pkg:npm/eslint-config-prettier","ranges":[{"introduced":"9.1.1","fixed":"9.1.2"}],"versions":["9.1.1"],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"eslint-config-prettier","purl":"pkg:npm/eslint-config-prettier","ranges":[{"introduced":"10.1.6","fixed":"10.1.8"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"eslint-plugin-prettier","purl":"pkg:npm/eslint-plugin-prettier","ranges":[{"introduced":"4.2.2","fixed":"4.2.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"got-fetch","purl":"pkg:npm/got-fetch","ranges":[{"introduced":"5.1.11","fixed":"6.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"napi-postinstall","purl":"pkg:npm/napi-postinstall","ranges":[{"introduced":"0.3.1","fixed":"0.3.2"}],"versions":["0.3.1"],"versions_truncated":false},{"advisory":"GHSA-f29h-pxvx-f335","ecosystem":"npm","name":"synckit","purl":"pkg:npm/synckit","ranges":[{"introduced":"0.11.9","fixed":"0.11.10"}],"versions":["0.11.9"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2025-54313/","html_en":"/en/cve/CVE-2025-54313/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-54313","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-54313"},"untrusted":{"vendor_name":"Prettier","product_name":"eslint-config-prettier","desc_en":"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.","affected":[{"untrusted_vendor":"prettier","untrusted_product":"eslint-config-prettier"}],"kev":{"vendor":"Prettier","product":"eslint-config-prettier","name":"Prettier eslint-config-prettier Embedded Malicious Code Vulnerability","desc":"Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.","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.","notes":"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"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"0baf542fb85f09e429f3545c1349354a","generated":"2026-11-26T23:17:43.653404Z","es":{"untrusted_title":"Código malicioso incrustado en eslint-config-prettier y paquetes relacionados","untrusted_summary":"Varias versiones de eslint-config-prettier, eslint-plugin-prettier, synckit y @pkgr/core contienen código malicioso incrustado que se ejecuta durante la instalación. En Windows, el archivo install.js lanza el malware node-gyp.dll, comprometiendo la cadena de suministro. CISA confirmó esta vulnerabilidad como explotada activamente."},"en":{"untrusted_title":"Embedded Malicious Code in eslint-config-prettier and Related Packages","untrusted_summary":"Multiple versions of eslint-config-prettier, eslint-plugin-prettier, synckit, and @pkgr/core contain embedded malicious code that executes during installation. On Windows, the install.js file launches the node-gyp.dll malware, compromising the supply chain. CISA confirmed this vulnerability as actively exploited."},"remediation":{"status":"fix","fixed_versions":[],"untrusted_action_es":"Actualiza inmediatamente eslint-config-prettier, eslint-plugin-prettier, synckit y @pkgr/core a las versiones corregidas. Revisa los sistemas Windows para detectar node-gyp.dll y elimina cualquier malware.","untrusted_action_en":"Update immediately eslint-config-prettier, eslint-plugin-prettier, synckit, and @pkgr/core to patched versions. Scan Windows systems for node-gyp.dll and remove any malware.","vendor_url":"https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions"},"reviewed":false},"references":[{"url":"https://github.com/prettier/eslint-config-prettier/issues/339","tags":["Issue Tracking"]},{"url":"https://news.ycombinator.com/item?id=44608811","tags":["Issue Tracking"]},{"url":"https://news.ycombinator.com/item?id=44609732","tags":["Issue Tracking"]},{"url":"https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise","tags":["Third Party Advisory"]},{"url":"https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions","tags":["Product"]},{"url":"https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/community-scripts/ProxmoxVE/discussions/6115","tags":["Third Party Advisory"]},{"url":"https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313","tags":["US Government Resource"]}]}}