Vulnerability

CVE-2025-32965

criticalCVSS 4.0 9.3Published 22 Apr 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx
  • www.aikido.dev /blog/xrp-supplychain-attack-official-npm-package-infected-…
  • xrpl.org /docs/tutorials/how-tos/manage-account-settings/assign-a-re…
  • xrpl.org /docs/tutorials/how-tos/manage-account-settings/disable-mas…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning