CVE-2025-32965
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 · uneditedxrpl.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 confidenceThis 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Identify installed xrpl.js versionRun 'npm list xrpl.js' or 'yarn list xrpl.js' in your project directory, or manually inspect package.json dependenciesAffected if The version listed is 4.2.1, 4.2.2, 4.2.3, 4.2.4, or 2.14.2
-
Check package-lock or yarn.lock for xrpl.jsSearch your lock file for 'xrpl.js' and confirm the resolved version numberAffected if The resolved version is one of the compromised versions listed above
-
Verify use of XRP Ledger key operationsSearch 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
-
Inspect network egress for suspicious domainsReview 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 endpointsAffected if Outbound traffic is detected to unfamiliar domains, especially containing Base64-encoded data in request bodies
-
Audit recent secret or key accessCheck 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 useAffected 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.
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 · scopedImmediately 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.
4.2.5 (for 4.x users) or 2.14.3 (for 2.x users)
- Stop using the compromised versions immediately (4.2.1, 4.2.2, 4.2.3, 4.2.4, or 2.14.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
- Run npm update xrpl.js or yarn upgrade xrpl.js to apply the patched version
- Audit your systems for any signs of key exfiltration or unauthorized access
- Rotate all private keys and secrets that were used with the affected xrpl.js versions
- If any master keys may be compromised, disable them using the XRP Ledger tools
- Consider moving funds to new secure wallets as a precaution
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-32965 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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