{"cve":"CVE-2025-32965","nvd":{"published":"2025-04-22T21:15:45.503","modified":"2026-06-17T09:12:52.603","status":"Deferred","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.","cvss_v4":{"vector":"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","score":9.3},"cvss_v3":null,"cwes":["CWE-506"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-32965","score":0.00922,"percentile":0.6036,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-33qr-m49q-rxfx","url":"https://osv.dev/vulnerability/GHSA-33qr-m49q-rxfx","summary":"Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2","modified":"2025-04-22T23:53:56Z","packages":[{"ecosystem":"npm","name":"xrpl","purl":"pkg:npm/xrpl","ranges":[">=4.2.1 <4.2.5"],"fixed":["4.2.5"]},{"ecosystem":"npm","name":"xrpl","purl":"pkg:npm/xrpl","ranges":[">=2.14.2 <2.14.3"],"fixed":["2.14.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}