CWE-506Weakness · CWE-506

CVE-2025-32965

CRITICAL · 9.3 CVSS v4.0 Published 2025-04-22
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is a supply chain attack where compromised versions (4.2.1-4.2.4 and 2.14.2) of the xrpl.js library contained malicious code designed to exfiltrate private keys used with XRP Ledger systems.

MitigationImmediately stop using compromised versions, upgrade to 4.2.5 or 2.14.3, rotate any private keys or secrets that interacted with affected versions, and consider disabling compromised master keys.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
Authentication
X
User interaction
None
Scope
X

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed xrpl.js version
    Run 'npm list xrpl.js' or 'yarn list xrpl.js' in your project directory, or manually inspect package.json dependencies
    Affected if The version listed is 4.2.1, 4.2.2, 4.2.3, 4.2.4, or 2.14.2
  2. Check package-lock or yarn.lock for xrpl.js
    Search your lock file for 'xrpl.js' and confirm the resolved version number
    Affected if The resolved version is one of the compromised versions listed above
  3. Verify use of XRP Ledger key operations
    Search your codebase for imports or usage of xrpl.js Keypair, Wallet, or sign methods (for example: 'new xrpl.Keypair', 'xrpl.Wallet.fromSeed', or transaction signing calls)
    Affected if Your application uses xrpl.js to generate, import, or sign with XRP Ledger private keys and the library version is compromised
  4. Inspect network egress for suspicious domains
    Review application network logs or proxy logs for outbound connections to domains other than known legitimate XRP Ledger nodes; particularly look for unexpected POST requests to unknown endpoints
    Affected if Outbound traffic is detected to unfamiliar domains, especially containing Base64-encoded data in request bodies
  5. Audit recent secret or key access
    Check application logs, secret management audit trails, or HSM/key storage logs for any unauthorized XRP key access or export operations occurring around the time the compromised library was in use
    Affected if Unauthorized export, access, or usage of XRP private keys is recorded in audit logs

You are affected if xrpl.js version 4.2.1-4.2.4 or 2.14.2 is installed AND your application uses xrpl.js to handle XRP Ledger private keys.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Immediately stop using compromised versions, upgrade to 4.2.5 or 2.14.3, rotate any private keys or secrets that interacted with affected versions, and consider disabling compromised master keys.

Recommended fix High confidence

4.2.5 (for 4.x users) or 2.14.3 (for 2.x users)

  1. Stop using the compromised versions immediately (4.2.1, 4.2.2, 4.2.3, 4.2.4, or 2.14.2)
  2. Upgrade xrpl.js to version 4.2.5 if using the 4.x major version, or to version 2.14.3 if using the 2.x major version
  3. Run npm update xrpl.js or yarn upgrade xrpl.js to apply the patched version
  4. Audit your systems for any signs of key exfiltration or unauthorized access
  5. Rotate all private keys and secrets that were used with the affected xrpl.js versions
  6. If any master keys may be compromised, disable them using the XRP Ledger tools
  7. Consider moving funds to new secure wallets as a precaution
Caveat Minimal expected, this is a security patch release; however, version 2.14.2 was noted as incompatible with other 2.x versions so verify your integration works with 2.14.3

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation2.0 h
  • Testing2.0 h
8.0 hours of engineering $1,460
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,336.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-32965 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-32965 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data