PoC Monitor
← All CVEs
CVE-2025-32965published 22 Apr 2025 20:39 UTCData: JSON · API

XRPLF xrpl.js

Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2

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.

First public PoC 13 hafter publication · 23 Apr 2025
Public PoCs11 on GitHub
CVSS9.3critical · scored by CNA · CWE-506
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

XRPLF xrpl.js
  • >= 4.2.1, < 4.2.5
  • = 2.14.2

Fixed in 4.2.5

Mitigation

Upgrade xrpl.js to 4.2.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Apr 2025 · t = 0First public PoC23 Apr 2025 · t+13h

First public PoC 13 h after publication; not in CISA KEV. First PoC: yusufdalbudak/CVE-2025-32965-xrpl-js-poc (created 23 Apr 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
yusufdalbudak/CVE-2025-32965-xrpl-js-poc 23 Apr 2025 +13 h 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /xcm

Content-Type
text/plain
Ports
3000
PoC User-Agent
ad-refferal
Seen in
1 repo: yusufdalbudak/CVE-2025-32965-xrpl-js-poc
Evidence
yusufdalbudak/CVE-2025-32965-xrpl-js-poc/fake_xrpl.js:2

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /xcm
(?i)^/xcm(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /xcm
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-32965 XRPLF xrpl.js exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/xcm"; reference:url,poc.griffinguard.io/cve/CVE-2025-32965; classtype:web-application-attack; sid:9605252; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /xcm
title: XRPLF xrpl.js exploit attempt (CVE-2025-32965)
id: gg-pocmon-cve-2025-32965-9605252
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32965. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32965
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/xcm'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32965