{"id":"CVE-2025-32965","published":"2025-04-22T20:39:48Z","modified":"2025-04-23T13:24:31Z","title":"Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2","vendor":"XRPLF","product":"xrpl.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00941,"percentile":0.61812,"provenance":"source"},"cwes":[{"id":"CWE-506","name":"Embedded Malicious Code"}],"references":[{"url":"https://github.com/XRPLF/xrpl.js/security/advisories/GHSA-33qr-m49q-rxfx","tags":["x_refsource_CONFIRM"]},{"url":"https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor","tags":["x_refsource_MISC"]},{"url":"https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/assign-a-regular-key-pair","tags":["x_refsource_MISC"]},{"url":"https://xrpl.org/docs/tutorials/how-tos/manage-account-settings/disable-master-key-pair","tags":["x_refsource_MISC"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":12.36},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-04-23","earliestUrl":"https://github.com/yusufdalbudak/CVE-2025-32965-xrpl-js-poc","repos":[{"name":"yusufdalbudak/CVE-2025-32965-xrpl-js-poc","url":"https://github.com/yusufdalbudak/CVE-2025-32965-xrpl-js-poc","stars":0,"created":"2025-04-23"}]},"first":{"date":"2025-04-23","source":"PoC-in-GitHub","url":"https://github.com/yusufdalbudak/CVE-2025-32965-xrpl-js-poc"},"provenance":"source"},"vendorSlug":"xrplf","affectedVersions":[{"vendor":"XRPLF","product":"xrpl.js","versions":[">= 4.2.1, < 4.2.5","= 2.14.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-23T13:23:25.246539Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"xrpl","vulnerableRanges":[">=4.2.1, <4.2.5",">=2.14.2, <2.14.3"],"patched":["4.2.5","2.14.3"],"from":["GHSA-33qr-m49q-rxfx"],"provenance":"source"}],"summary":{"text":"The xrpl.js JavaScript/TypeScript library for the XRP Ledger was compromised in versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2, which contain embedded malicious code designed to exfiltrate private keys. An attacker does not need network access, credentials, or user interaction; any system that installs or runs one of these versions is exposed to having its keys and secrets stolen, so affected users should rotate keys and upgrade to 4.2.5 or 2.14.3.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:34Z"},"euvd":{"id":"EUVD-2025-12259","exploited":false,"provenance":"source"}}