Vulnerabilities

CVE-2025-32965

Critical 9.3 CVSS 4.0

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.

Description as published by the source, in English.

Key facts

Published
2025-04-22
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
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:
Scored by
security-advisories@github.com
Probability of exploitation
0.9 % higher than 56 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
xrpl (npm) ≥ 2.14.2, < 2.14.3 Affected
xrpl (npm) ≥ 4.2.1, < 4.2.5 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1001.002: Steganography command-and-control
  • T1027.003: Steganography stealth
  • T1027.004: Compile After Delivery stealth
  • T1027.009: Embedded Payloads stealth
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1195.002: Compromise Software Supply Chain initial-access
  • T1218.001: Compiled HTML File stealth
  • T1221: Template Injection stealth

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities