CVE-2025-32965
CVE-2025-32965 is a critical-severity vulnerability with a CVSS 4.0 base score of 9.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-506.
Key facts
- Severity: Critical (CVSS 4.0 base score 9.3)
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-12259
- Weakness: CWE-506
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-32965?
- 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.
- How severe is CVE-2025-32965?
- CVE-2025-32965 has a CVSS 4.0 base score of 9.3, rated critical severity.
- Is CVE-2025-32965 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2025-32965?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-32965 have an EU (EUVD) identifier?
- Yes. CVE-2025-32965 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-12259.
- When was CVE-2025-32965 published?
- CVE-2025-32965 was published on 2025-04-22 and last updated on 2026-06-17.
References
- https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx
- https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair
- https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair
Other CWE-506 vulnerabilities
- CVE-2026-46412 — Critical (CVSS 10.0): @beproduct/nestjs-auth is a NestJS authentication module for BeProduct IDS (Identity Server) with OpenID Connect…
- CVE-2026-28353 — Critical (CVSS 10.0): Trivy Vulnerability Scanner is a VS Code extension that helps find vulnerabilities. In Trivy VSCode Extension version…
- CVE-2024-3094 — Critical (CVSS 10.0): Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of…
- CVE-2026-77651 — Critical (CVSS 9.8): The arrayref crate 0.3.10 for Rust can trigger execution of malicious code when compiling a project that uses the…
- CVE-2026-77650 — Critical (CVSS 9.8): The append-only-vec crate 0.1.9 for Rust can trigger execution of malicious code when compiling a project that uses the…
- CVE-2026-77649 — Critical (CVSS 9.8): The internment crate 0.8.7 for Rust can trigger execution of malicious code when compiling a project that uses the…