01 Record
CVE-2025-54313
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
HighKEVPUBLISHEDCNA: mitre
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
02 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
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2026-01-22. Federal remediation due 2026-02-12.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 5.12% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 92.3% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-07-19 00:00Z1 YR AGO
- Last updated
- 2026-02-26 17:50Z8 MO AGO
- Reserved
- 2025-07-19
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- Weaknesses
- CWE-506Embedded Malicious CodeClass
- Data version
- 5.2
- Document digest
- fc65e774d46d372e34fddd0d9eecfbb6f1e670497a574bf75ea0d619bc439314
05 Affected products
VendorProductVersionsPlatforms
06 References
- socket.devhttps://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- www.bleepingcomputer.comhttps://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- github.comhttps://github.com/prettier/eslint-config-prettier/issues/339
- www.npmjs.comhttps://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- www.stepsecurity.iohttps://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- news.ycombinator.comhttps://news.ycombinator.com/item?id=44609732
- news.ycombinator.comhttps://news.ycombinator.com/item?id=44608811
- github.comhttps://github.com/community-scripts/ProxmoxVE/discussions/6115
- www.endorlabs.comhttps://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313