CVE-2025-32965

CRITICAL

xrpl.js <4.2.1-4.2.4, 2.14.2 - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-32965. PoCs published by yusufdalbudak.

AI-analyzed exploit summary This PoC demonstrates a supply chain attack (CVE-2025-32965) where a malicious version of the xrpl.js library exfiltrates wallet seeds to an attacker-controlled server. The exploit uses a fake module to send seed data via HTTP POST requests.

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.

Exploits (1)

nomisec WORKING POC
by yusufdalbudak · poc
https://github.com/yusufdalbudak/CVE-2025-32965-xrpl-js-poc

This PoC demonstrates a supply chain attack (CVE-2025-32965) where a malicious version of the xrpl.js library exfiltrates wallet seeds to an attacker-controlled server. The exploit uses a fake module to send seed data via HTTP POST requests.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: xrpl.js versions 4.2.1–4.2.4 and 2.14.2
No auth needed
Prerequisites: Docker environment · Node.js · xrpl.js library dependency
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v4 9.3
EPSS 0.0031
EPSS Percentile 54.6%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-506
Status published
Products (3)
npm/xrpl 4.2.1 - 4.2.5npm
XRPLF/xrpl.js = 2.14.2
XRPLF/xrpl.js >= 4.2.1, < 4.2.5
Published Apr 22, 2025
Tracked Since Feb 18, 2026