{"id":"CVE-2025-54313","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-54313","generatedAt":"2026-10-31T07:03:57.738Z","title":"Prettier eslint-config-prettier Embedded Malicious Code Vulnerability","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.","published":"2025-07-19T17:15:24.000Z","lastModified":"2026-06-17T09:39:50.000Z","status":"Analyzed","sourceIdentifier":"cve@mitre.org","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"},"cwe":["CWE-506"],"affected":["prettier/eslint-config-prettier","prettier/eslint-plugin-prettier","un-ts/synckit","un-ts/pkgr\\/core","alexghr/got-fetch","un-ts/napi-postinstall","homarr/homarr"],"epss":{"score":0.05125,"percentile":0.92382,"date":"2026-10-30","history":[]},"kev":{"listed":true,"dateAdded":"2026-01-22","dueDate":"2026-02-12","knownRansomwareCampaignUse":"Unknown","notes":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.\nThis 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"},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 12 February 2026). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"https://github.com/prettier/eslint-config-prettier/issues/339","tags":["Issue Tracking"],"source":"cve@mitre.org"},{"url":"https://news.ycombinator.com/item?id=44608811","tags":["Issue Tracking"],"source":"cve@mitre.org"},{"url":"https://news.ycombinator.com/item?id=44609732","tags":["Issue Tracking"],"source":"cve@mitre.org"},{"url":"https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions","tags":["Product"],"source":"cve@mitre.org"},{"url":"https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/community-scripts/ProxmoxVE/discussions/6115","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/","tags":["Exploit","Third Party Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-54313","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}