CVE-2025-32965 json
Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2
published 2025-04-22 18 mo ago modified 2026-06-17 4 mo ago also GHSA-33qr-m49q-rxfx , EUVD-2025-12259
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm xrpl 2.14.3, 4.2.5
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | xrpl | >=4.2.1, <4.2.5 >=2.14.2, <2.14.3 |
4.2.5 2.14.3 |
Affected products
- XRPLF xrpl.js
Classification
- Weakness
-
- CWE-506 Embedded Malicious Code
References
-
github.com
/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx
web
-
aikido.dev
/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor
web
-
xrpl.org
/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair
web
-
xrpl.org
/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-32965
advisory
-
github.com
/XRPLF/xrpl.js
package
Sources
- CVE List CVE-2025-32965
- GitHub Advisory GHSA-33qr-m49q-rxfx
- NVD CVE-2025-32965
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.