CVE-2025-54313
eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code
Aktiv ausgenutzt
Diese Schwachstelle steht auf der CISA-Liste Known Exploited Vulnerabilities, aufgenommen am 2026-01-22. Frist für US-Bundesbehörden: 2026-02-12.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | eslint-config-prettier | = 8.10.1 | 8.10.2 |
| npm | eslint-plugin-prettier | >= 4.2.2, <= 4.2.3 | 4.2.4 |
| npm | synckit | = 0.11.9 | 0.11.10 |
| npm | @pkgr/core | = 0.2.8 | 0.2.9 |
| npm | napi-postinstall | = 0.3.1 | 0.3.2 |
| npm | got-fetch | >= 5.1.11, <= 5.1.12 | 6.0.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Alexghr | Got-fetch | Versionen 5.1.1, 5.1.2 |
| Homarr | Homarr | ab 1.29.0 vor 1.30.0 |
| Prettier | Eslint-config-prettier | Versionen 8.10.1, 9.1.1, 10.1.6, 10.1.7 |
| Prettier | Eslint-plugin-prettier | Versionen 4.2.2, 4.2.3 |
| Un-ts | Napi-postinstall | Version 0.3.1 |
| Un-ts | pkgr\/core | Version 0.2.8 |
| Un-ts | Synckit | Version 0.11.9 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- CISA-KEV-Katalog
- 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/
- 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-compromise
- https://github.com/community-scripts/ProxmoxVE/discussions/6115
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
- https://github.com/advisories/GHSA-f29h-pxvx-f335
- https://nvd.nist.gov/vuln/detail/CVE-2025-54313
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware
- https://github.com/prettier/eslint-config-prettier/commit/9b0b0a47ec28a7a83cf65e8436a8776910379385
- https://github.com/prettier/eslint-plugin-prettier/commit/ec39dd4400f10c52d10cd991c10fa8de51ceb854
- https://github.com/un-ts/napi-postinstall/commit/38b4e95cf554e2549b9e1e2c4ff6bff4da9a65f9
- https://github.com/un-ts/pkgr/commit/e1420c99e44d8a2ae949381f9fbe1af5ba9cb1dd
- https://github.com/un-ts/synckit/commit/8f2ee32d4f75736a1c8d7e1101190a71e48909e4
- https://secure.software/npm/packages/got-fetch
- https://checkmarx.com/zero-post/supply-chain-phishing-campaign-drops-more-malware-into-npm-got-fetch-5-1