cve.bz

CVE-2025-32965 xrplf xrpl.js: Embedded Malicious Code

9.3 criticalEPSS 0.9%Fix available

Critical (9.3) in xrplf xrpl.js. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in xrpl 2.14.3, 4.2.5.

On this page
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.

Severity

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
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-506 Embedded Malicious Code
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • xrpl (npm): fixed in 4.2.5, 2.14.3

Ask an AI about this CVE

Show the promptExplain CVE-2025-32965 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-32965?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-32965?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-32965 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
XRPLF xrpl.js>= 4.2.1, < 4.2.5
XRPLF xrpl.js= 2.14.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-33qr-m49q-rxfxnpmxrpl>=4.2.1 <4.2.54.2.5
GHSA-33qr-m49q-rxfxnpmxrpl>=2.14.2 <2.14.32.14.3

Attack patterns (CAPEC)

  • CAPEC-442 Infected Software Likelihood: Medium · Severity: High
  • CAPEC-448 Embed Virus into DLL Likelihood: Medium · Severity: High
  • CAPEC-636 Hiding Malicious Data or Code within Files Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON