Vulnerability record

CVE-2025-54313

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

Severity: HighExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run eslint-config-prettier, fix it now.

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

US federal civilian agencies must remediate by Feb 12, 2026.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsSource
eslint-config-prettierPrettier8.10.1; 9.1.1; 10.1.6; 10.1.7KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2025-54313 scored CVSS 7.5: Prettier eslint-config-prettier, Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

    CISA lists this as exploited in the wild. Unpatched eslint-config-prettier systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • npmjs.com https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
  • github.com https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-54313
  • github.com https://github.com/prettier/eslint-config-prettier/issues/339
  • news.ycombinator.com https://news.ycombinator.com/item?id=44608811
  • news.ycombinator.com https://news.ycombinator.com/item?id=44609732
  • socket.dev https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
  • bleepingcomputer.com https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malwa…
  • stepsecurity.io https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-com…
  • github.com https://github.com/community-scripts/ProxmoxVE/discussions/6115
  • endorlabs.com https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-…
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313