CVE-2025-54313 · netVigilance record NV26-0008
Prettier eslint-config-prettier Embedded Malicious Code
past due
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA deadline 2026-02-12 · passed 6 months ago · applies to US federal civilian agencies; used elsewhere as a reference SLA
What happened
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.
Who is affected
Prettier eslint-config-prettier. Affected version ranges are listed in the vendor advisory and the NVD entry linked under Sources.
Weakness class: CWE-506.
Timeline
- Added to CISA KEVExploitation in the wild confirmed by CISA
- CISA remediation deadlinepassed 6 months ago
Sources
- NVD entry for CVE-2025-54313 nvd.nist.gov/vuln/detail/CVE-2025-54313
- CISA Known Exploited Vulnerabilities catalog www.cisa.gov/known-exploited-vulnerabilities-catalog
- npmjs.com www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- github.com github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490
- nvd.nist.gov nvd.nist.gov/vuln/detail/CVE-2025-54313