---
title: "CVE-2025-32965: Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2"
url: https://erroneo.us/security/cve/CVE-2025-32965/
description: "CVE-2025-32965 (xrpl (npm)): 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…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-04-22
date_modified: 2025-04-23
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-32965"
kev: false
cvss: 9.3
epss: 0.00906
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.9% , percentile 59: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 59% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes xrpl (npm) >= 4.2.1, < 4.2.5, fixed in 4.2.5 ; xrpl (npm) = 2.14.2, fixed in 2.14.3 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- npm `xrpl` >= 4.2.1, < 4.2.5 → fixed: 4.2.5
- npm `xrpl` = 2.14.2 → fixed: 2.14.3

## Affected products (CVE record)

- XRPLF xrpl.js: >= 4.2.1, < 4.2.5, = 2.14.2

## Severity

- GitHub_M CVSS 4.0: 9.3 `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`
- GitHub CVSS 4.0: 9.3 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.91% probability of exploitation activity in the next 30 days; percentile 59.

## Sources

- [GitHub Advisory GHSA-33qr-m49q-rxfx](https://github.com/advisories/GHSA-33qr-m49q-rxfx)
- [CVE.org record CVE-2025-32965](https://www.cve.org/CVERecord?id=CVE-2025-32965)
- [NVD entry CVE-2025-32965](https://nvd.nist.gov/vuln/detail/CVE-2025-32965)
- [github.com](https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx)
- [aikido.dev](https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor)
- [xrpl.org](https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair)
- [xrpl.org](https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair)

---
Source page: https://erroneo.us/security/cve/CVE-2025-32965/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
