Vulnerability details
CVE-2025-32965
Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2
Official description
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.3Critical | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| XRPLF | xrpl.js | = 2.14.2 | CVEProject cvelistV5 (CNA) |
| XRPLF | xrpl.js | >= 4.2.1, < 4.2.5 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx x_refsource_CONFIRM
- https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor x_refsource_MISC
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair x_refsource_MISC
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair x_refsource_MISC
Details
- Published
- 2025-04-23
- Last updated
- 2025-04-23
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-506Embedded Malicious Code