# CVE-2025-32965: Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2025-04-22T18:57:48.000Z
- Modified: 2026-06-17T09:12:52.603Z
- Also known as: GHSA-33qr-m49q-rxfx
- Weaknesses: CWE-506
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- XRPLF xrpl.js: >= 4.2.1, < 4.2.5; = 2.14.2
- xrpl (npm): from 4.2.1 before 4.2.5; from 2.14.2 before 2.14.3

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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: CVSS:4.0 Critical `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`

## References

- <https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx> (web)
- <https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor> (web)
- <https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair> (web)
- <https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32965> (advisory)
- <https://github.com/XRPLF/xrpl.js> (package)

## Sources

- CVE List: [CVE-2025-32965](https://www.cve.org/CVERecord?id=CVE-2025-32965), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-33qr-m49q-rxfx](https://github.com/advisories/GHSA-33qr-m49q-rxfx), CC-BY-4.0, modified 2025-04-22
- NVD: [CVE-2025-32965](https://nvd.nist.gov/vuln/detail/CVE-2025-32965), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32965 · Whole record: https://cve.day/CVE-2025-32965.json · Rebuilt by cve.day 2026-11-25T22:58:56.845Z
