Skip to content

CVE-2025-32965 Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2

CriticalCVSS 9.3 EPSS 0.94%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm xrpl(npm) = 2.14.2; >= 2.14.2, < 2.14.3; >= 4.2.1, < 4.2.5 2.14.3, 4.2.5 Fixed
XRPLF xrpl.js = = 2.14.2; = >= 4.2.1, < 4.2.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm xrpl(npm) >= 4.2.1, < 4.2.5 4.2.5
npm xrpl(npm) = 2.14.2 No fix listed
XRPLF xrpl.js = >= 4.2.1, < 4.2.5 No fix listed
XRPLF xrpl.js = = 2.14.2 No fix listed
npm xrpl(npm) >= 2.14.2, < 2.14.3 2.14.3

References