CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Reference page built from the source records below, each shown as its source publishes it. Dataset version ref-1b95e46a2ec8, updated 2026-11-02T23:39:54.475Z.
CISA Known Exploited Vulnerabilities
- Name
- Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
- Vendor
- Prettier
- Product
- eslint-config-prettier
- Added to the catalog
- 2026-01-22
- Due date for US federal agencies
- 2026-02-12
- Weaknesses
- CWE-506
- Catalog version
- 2026.10.30
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.
Required action (CISA)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware use: CISA does not mark known use of this vulnerability in ransomware campaigns.
Links in CISA's notes
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490
- https://nvd.nist.gov/vuln/detail/CVE-2025-54313
Read on 2026-11-02T23:39:54.475Z under licence cisa-kev-cc0@b0067899 from https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
NVD analysis
- Status
- Analyzed
- Published
- 2025-07-19T17:15:23.733
- Last modified
- 2026-06-17T09:39:49.897
- Weaknesses
- CWE-506
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.
| Metric | Score | Severity | Vector | Scored by |
|---|---|---|---|---|
| CVSS 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N | [email protected] (Secondary) |
References
- https://github.com/prettier/eslint-config-prettier/issues/339 (Issue Tracking)
- https://news.ycombinator.com/item?id=44608811 (Issue Tracking)
- https://news.ycombinator.com/item?id=44609732 (Issue Tracking)
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise (Third Party Advisory)
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ (Exploit, Third Party Advisory)
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions (Product)
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise (Exploit, Third Party Advisory)
- https://github.com/community-scripts/ProxmoxVE/discussions/6115 (Third Party Advisory)
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only (Third Party Advisory)
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/ (Exploit, Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 (US Government Resource)
This product uses the NVD API but is not endorsed or certified by the NVD.
Read on 2026-11-02T23:42:22.836Z under licence nvd-api-terms-of-use@ff2a5288 from https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-54313
CVE record
- Assigner
- mitre
- State
- PUBLISHED
- Published
- 2025-07-19T00:00:00.000Z
- Updated
- 2026-02-26T17:50:26.767Z
- Problem types
- CWE-506 Embedded Malicious Code
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.
References
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/
- https://github.com/prettier/eslint-config-prettier/issues/339
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
- https://news.ycombinator.com/item?id=44609732
- https://news.ycombinator.com/item?id=44608811
Read on 2026-11-03T02:17:15.181Z under licence cve-terms-of-use@81bfa2f3 from https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/54xxx/CVE-2025-54313.json
GitHub Advisory Database
GHSA-f29h-pxvx-f335: eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code
- Severity (GitHub)
- high
- CVSS
- 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
- Weaknesses
- CWE-506
- Published
- 2025-07-19T18:30:33Z
- Updated
- 2026-01-22T21:52:57Z
- npm eslint-config-prettier: affected = 8.10.1, first patched 8.10.2
- npm eslint-config-prettier: affected = 9.1.1, first patched 9.1.2
- npm eslint-config-prettier: affected >= 10.1.6, <= 10.1.7, first patched 10.1.8
- npm eslint-plugin-prettier: affected >= 4.2.2, <= 4.2.3, first patched 4.2.4
- npm synckit: affected = 0.11.9, first patched 0.11.10
- npm @pkgr/core: affected = 0.2.8, first patched 0.2.9
- npm napi-postinstall: affected = 0.3.1, first patched 0.3.2
- npm got-fetch: affected >= 5.1.11, <= 5.1.12, first patched 6.0.0
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.
Read on 2026-11-03T05:52:20.208Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.github.com/advisories/GHSA-f29h-pxvx-f335
Also known as / affected packages
GHSA-f29h-pxvx-f335
Also known as: CVE-2025-54313. OSV.dev record, GitHub advisory.
- npm eslint-config-prettier: introduced 8.10.1, fixed 8.10.2
- npm eslint-config-prettier: introduced 9.1.1, fixed 9.1.2
- npm eslint-config-prettier: introduced 10.1.6, fixed 10.1.8
- npm eslint-plugin-prettier: introduced 4.2.2, fixed 4.2.4
- npm synckit: introduced 0.11.9, fixed 0.11.10
- npm @pkgr/core: introduced 0.2.8, fixed 0.2.9
- npm napi-postinstall: introduced 0.3.1, fixed 0.3.2
- npm got-fetch: introduced 5.1.11, fixed 6.0.0
Read on 2026-11-03T02:50:45.935Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.osv.dev/v1/vulns/GHSA-f29h-pxvx-f335
Defensive techniques (MITRE D3FEND)
D3FEND maps these defensive techniques to the weakness (CWE) that NVD lists for this CVE, through the digital artifacts the weakness affects. D3FEND does not say they stop this vulnerability.
CWE-506: Embedded Malicious Code
D3FEND lists no defensive technique for this weakness.
D3FEND ontology version 1.6.0.
Read on 2026-11-02T23:56:58.763Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-506.json
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/
Sources and licences
CISA
Source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30, CC0 1.0. Use of this data does not imply endorsement by CISA or DHS.
National Vulnerability Database (NIST)
This product uses the NVD API but is not endorsed or certified by the NVD.
NVD API Terms of Use (NIST publications in the public domain, 17 U.S.C. 105)
CVE Program, The MITRE Corporation
Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
GitHub Advisory Database
Source: GitHub Advisory Database, https://github.com/advisories/GHSA-f29h-pxvx-f335, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Changes: fields selected and reformatted by ransomware-tracker.com.
GitHub Advisory Database via OSV.dev
GHSA-f29h-pxvx-f335: GitHub Advisory Database, https://github.com/advisories/GHSA-f29h-pxvx-f335. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), provided as is, without warranties. Retrieved via OSV.dev (https://osv.dev/vulnerability/GHSA-f29h-pxvx-f335), which enriches records; fields selected and reformatted by ransomware-tracker.com.
MITRE D3FEND
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/MITRE D3FEND Terms of Use (site + knowledge graph); source repo MIT
Cite this page
Dragons Eye Ransomware Tracker, "CVE-2025-54313: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability",
entity page, dataset version ref-1b95e46a2ec8, updated 2026-11-02T23:39:54.475Z,
https://ransomware-tracker.com/cve/CVE-2025-54313 (accessed 2026-11-03).
Underlying source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30.
Underlying source: National Vulnerability Database (NIST), CVE API 2.0, record last modified 2026-06-17T09:39:49.897.
Underlying source: CVE List (CVE Program, The MITRE Corporation), record updated 2026-02-26T17:50:26.767Z.
Underlying source: GitHub Advisory Database, GHSA-f29h-pxvx-f335, updated 2026-01-22T21:52:57Z.
Underlying source: GitHub Advisory Database, GHSA-f29h-pxvx-f335, via OSV.dev, modified 2026-02-03T03:09:09.088269Z.
Underlying source: MITRE D3FEND, ontology version 1.6.0.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.