CVE-2025-32965
published critical CVSS 4.0 · 9.3Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| XRPLF | — | xrpl.js>= 4.2.1, < 4.2.5 · = 2.14.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| XRPLF | xrpl.js | >= 4.2.1, < 4.2.5 (affected)= 2.14.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-506 CWE-506: Embedded Malicious Code
References
4- https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx
- https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair
Provider assertions
2GitHub_M · cna
Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 44507e07adb29596655f2ed0bbf0ce7986473b8898e973267e0d2c3f142fd241
- Ingested
- 23 Sep 2026, 08:45:38 UTC
- Source record
- Official CVE record