개요
이 취약점이 무엇인지
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(미국 사이버보안청)가 실제 공격에 악용된 사실을 확인해 KEV 카탈로그에 올린 취약점이에요. 우선 패치 대상으로 보세요.
- 이름
- Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
- 조치 사항
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-01-22
- 조치 기한
- 2026-02-12
- 랜섬웨어 사용
- 확인되지 않음
- 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
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| got-fetchalexghr · node.js 용 | 이 버전만 | 취약 | = | 5.1.1 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 5.1.2 | 벤더 공지 확인 | ||
| homarrhomarr | 1.29.0 | ≤ | 취약 | < | 1.30.0 | 1.30.0이상 |
| eslint-config-prettierprettier · node.js 용 | 이 버전만 | 취약 | = | 8.10.1 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 9.1.1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 10.1.6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 10.1.7 | 벤더 공지 확인 | ||
| eslint-plugin-prettierprettier · node.js 용 | 이 버전만 | 취약 | = | 4.2.2 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 4.2.3 | 벤더 공지 확인 | ||
| napi-postinstallun-ts · node.js 용 | 이 버전만 | 취약 | = | 0.3.1 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 4줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| eslint-config-prettierprettier | 이 버전만 | 취약 | = | 8.10.1 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 9.1.1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 10.1.6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 10.1.7 | 벤더 공지 확인 | ||
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
익스플로잇2
외부 보안 공지5
- socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- github.com/community-scripts/ProxmoxVE/discussions/6115
- endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only