Skip to content

CVE-2025-54313 eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code

HighCVSS 7.5 EPSS 5.1% CISA KEV added 2026-01-22 · due 2026-02-12 Exploited in the wild PoC
Published
Updated
Exploit status
Exploited in the wild (confirmed)
CISA SSVC
Actively exploited · automatable: no · technical impact: partial

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.

CISA Known Exploited Vulnerability

Date added
2026-01-22
Due date (FCEB)
2026-02-12
Ransomware use
Unknown

Required 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.

Upgrade path

13 packages: 7 fixed.

PackageAffectedFixed inStatus
homarr >= 1.29.0, < 1.30.0 1.30.0 Fixed
npm eslint-config-prettier(npm) = 8.10.1; = 9.1.1; >= 8.10.1, < 8.10.2; >= 9.1.1, < 9.1.2 +2 more 8.10.2, 9.1.2, 10.1.8 Fixed
npm eslint-plugin-prettier(npm) >= 4.2.2, < 4.2.4; >= 4.2.2, <= 4.2.3 4.2.4 Fixed
npm got-fetch(npm) >= 5.1.11, < 6.0.0; >= 5.1.11, <= 5.1.12 6.0.0 Fixed
npm napi-postinstall(npm) = 0.3.1; >= 0.3.1, < 0.3.2 0.3.2 Fixed
npm synckit(npm) = 0.11.9; >= 0.11.9, < 0.11.10 0.11.10 Fixed
pkgr @pkgr/core(npm) = 0.2.8; >= 0.2.8, < 0.2.9 0.2.9 Fixed
alexghr got-fetch = 5.1.1; = 5.1.2 No fix listed Versions listed
prettier eslint-config-prettier = 8.10.1; = 9.1.1; = 10.1.6; = 10.1.7 No fix listed Versions listed
prettier eslint-plugin-prettier = 4.2.2; = 4.2.3 No fix listed Versions listed
un-ts napi-postinstall = 0.3.1 No fix listed Versions listed
un-ts pkgrcore = 0.2.8 No fix listed Versions listed
un-ts synckit = 0.11.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm eslint-config-prettier(npm) = 8.10.1 No fix listed
npm eslint-config-prettier(npm) = 9.1.1 No fix listed
npm eslint-config-prettier(npm) >= 10.1.6, <= 10.1.7 No fix listed
npm eslint-plugin-prettier(npm) >= 4.2.2, <= 4.2.3 No fix listed
npm synckit(npm) = 0.11.9 No fix listed
pkgr @pkgr/core(npm) = 0.2.8 No fix listed
npm napi-postinstall(npm) = 0.3.1 No fix listed
npm got-fetch(npm) >= 5.1.11, <= 5.1.12 No fix listed
prettier eslint-config-prettier = 8.10.1 No fix listed
prettier eslint-config-prettier = 9.1.1 No fix listed
prettier eslint-config-prettier = 10.1.6 No fix listed
prettier eslint-config-prettier = 10.1.7 No fix listed
prettier eslint-plugin-prettier = 4.2.2 No fix listed
prettier eslint-plugin-prettier = 4.2.3 No fix listed
un-ts synckit = 0.11.9 No fix listed
un-ts pkgrcore = 0.2.8 No fix listed
alexghr got-fetch = 5.1.1 No fix listed
alexghr got-fetch = 5.1.2 No fix listed
un-ts napi-postinstall = 0.3.1 No fix listed
homarr >= 1.29.0, < 1.30.0 1.30.0
npm eslint-config-prettier(npm) >= 8.10.1, < 8.10.2 8.10.2
npm eslint-config-prettier(npm) >= 9.1.1, < 9.1.2 9.1.2
npm eslint-config-prettier(npm) >= 10.1.6, < 10.1.8 10.1.8
npm eslint-plugin-prettier(npm) >= 4.2.2, < 4.2.4 4.2.4
npm synckit(npm) >= 0.11.9, < 0.11.10 0.11.10
Show 3 more
ProductAffected versionsFixed in
pkgr @pkgr/core(npm) >= 0.2.8, < 0.2.9 0.2.9
npm napi-postinstall(npm) >= 0.3.1, < 0.3.2 0.3.2
npm got-fetch(npm) >= 5.1.11, < 6.0.0 6.0.0

References