CVE-2025-32965
CRITICAL 9.3CVSS 4.0Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2
xrpl.js is a JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser. Versions 4.2.1, 4.2.2, 4.2.3, and 4.2.4 of xrpl.js were compromised and contained malicious code designed to exfiltrate private keys. Version 2.14.2 is also malicious, though it is less likely to lead to exploitation as it is not compatible with other 2.x versions. Anyone who used one of these versions should stop immediately and rotate any private keys or secrets used with affected systems. Users of xrpl.js should pgrade to version 4.2.5 or 2.14.3 to receive a patch. To secure funds, think carefully about whether any keys may have been compromised by this supply chain attack, and mitigate by sending funds to secure wallets, and/or rotating keys. If any account's master key is potentially compromised, disable the key.
- Published
- 22 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-506
- Also known as
- GHSA-33qr-m49q-rxfx
- Sources
- NVDJSONOSV GHSA-33qr-m49q-rxfxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | xrpl | >= 4.2.1, < 4.2.5 | 4.2.5 |
| OSV | npm | xrpl | >= 2.14.2, < 2.14.3 | 2.14.3 |
References
- https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx · WEB
- https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor · WEB
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair · WEB
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-32965 · ADVISORY
- https://github.com/XRPLF/xrpl.js · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 22 Apr 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Apr 2025)