Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
- CVE-2025-54313
Summary
CVE-2025-54313 is an embedded malicious code vulnerability in the Prettier eslint-config-prettier package. Installing an affected version executes an install.js file, which launches the node-gyp.dll malware on Windows systems. The record notes that CISA lists this vulnerability in its known exploited vulnerabilities catalog, so exploitation in the wild is confirmed. No CVSS score is provided in the record. Teams that install this package on Windows should check whether an affected version is present in their dependencies and treat any installation as a possible compromise until it has been investigated.
AI summary · verify against the vendor advisory
Description
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.
Text from the CISA KEV record.
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.
From CISA KEV · due for US federal agencies by Feb 12, 2026
Recommendation
homarr
- If you run a version from 1.29.0 to before 1.30.0update to 1.30.0 or laterMinor version change: check the release notes
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
alexghr got-fetch
Affected versions Fixed in 5.1.1 none stated 5.1.2 none stated homarr
Affected versions Fixed in from 1.29.0 to before 1.30.0 1.30.0 prettier eslint-config-prettier
Affected versions Fixed in 8.10.1 none stated 9.1.1 none stated 10.1.6 none stated 10.1.7 none stated prettier eslint-plugin-prettier
Affected versions Fixed in 4.2.2 none stated 4.2.3 none stated un-ts napi-postinstall
Affected versions Fixed in 0.3.1 none stated un-ts pkgr/core
Affected versions Fixed in 0.2.8 none stated un-ts synckit
Affected versions Fixed in 0.11.9 none stated
Product versions from the NVD record.
Timeline
- Added to CISA KEV
- EPSS first scored at 5.1%
Related news
No article from the followed outlets names this vulnerability.