Prettier · eslint-config-prettier
CVE-2025-54313
Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
这是什么
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.
CISA: 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.
该怎么做
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
美国联邦机构的修复期限:2026年2月12日
- 加入 CISA 列表
- 2026年1月22日
- 发布日期
- 2025年7月19日
- 严重程度
- 高 7.5 CVSS 3.1
- 未来 30 天遭受攻击的概率(EPSS)
- 5.1% 位列所有已知漏洞的前 7.7%
- 弱点类型
- CWE-506
- 更多详情
- NVD · CVE.org · CISA
全部参考链接(7)
- 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-malw…
- https://github.com/prettier/eslint-config-prettier/issues/339
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-co…
- https://news.ycombinator.com/item?id=44609732
- https://news.ycombinator.com/item?id=44608811
来源:Known Exploited Vulnerabilities(CISA,公有领域)、CVE records(cve.org)和 EPSS(FIRST)。受攻击概率是 EPSS 对未来 30 天内有人尝试利用该漏洞的估计。