Home / XRPLF / xrpl.js / CVE-2025-32965
CVE-2025-32965: is it exploited, and which versions of XRPLF xrpl.js are affected and fixed?
CVE-2025-32965 is an embedded Malicious Code vulnerability in XRPLF xrpl.js. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: xrpl from 4.2.1 before 4.2.5 and xrpl from 2.14.2 before 2.14.3 (GitHub advisory GHSA-33qr-m49q-rxfx). Fixed in 4.2.5 and 2.14.3 (GitHub advisory GHSA-33qr-m49q-rxfx). Severity: Critical (9.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-32965?
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.
From the CVE record by GitHub_M, last updated April 23, 2025, 13:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| XRPLF | xrpl.js | >= 4.2.1, < 4.2.5 = 2.14.2 |
As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | xrpl | >= 4.2.1, < 4.2.5 | 4.2.5 | GHSA-33qr-m49q-rxfx |
| npm | xrpl | >= 2.14.2, < 2.14.3 | 2.14.3 | GHSA-33qr-m49q-rxfx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 22, 2025. Summary: Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2.
How severe is CVE-2025-32965?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-32965 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, April 23, 2025)
- EPSS
- 0.94% probability of exploitation activity in the next 30 days, percentile 62.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-506 Embedded Malicious Code
Where are the vendor advisories and references?
- https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx x_refsource_CONFIRM
- https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor x_refsource_MISC
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair x_refsource_MISC
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 14, 2025
- Published
- April 22, 2025, 20:39 UTC
- CVE record updated
- April 23, 2025, 13:24 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:12 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-32965
Is CVE-2025-32965 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.94% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of XRPLF xrpl.js are affected by CVE-2025-32965?
xrpl from 4.2.1 before 4.2.5 and xrpl from 2.14.2 before 2.14.3, per the GitHub advisory GHSA-33qr-m49q-rxfx. The tables above give every range the sources list.
Which version fixes CVE-2025-32965?
4.2.5 and 2.14.3, per the GitHub advisory GHSA-33qr-m49q-rxfx. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-32965?
Critical (9.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-32965?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.