Embedded Malicious Code Affecting xrpl package, versions >=2.14.2 <2.14.3>=4.2.1 <4.2.5


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-XRPL-10336914
  • published11 Jun 2025
  • disclosed20 Apr 2025
  • creditCharlie Eriksen

Introduced: 20 Apr 2025

Malicious CVE-2025-32965  (opens in a new tab)
CWE-506  (opens in a new tab)

How to fix?

Avoid using all malicious instances of the xrpl package.

Overview

xrpl is an A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser

Affected versions of this package are vulnerable to Embedded Malicious Code that steals cryptocurrency private keys and can provide access to cryptocurrency wallets. A malicious actor published multiple malicious versions of the xrpl package, which contain a payload intended to steal private keys upon the instantiation of a Wallet object.

Notes:

  • If you've used a compromised version, assume any seed or private key processed by the code has been compromised and rotate them.

CVSS Base Scores

version 4.0
version 3.1