Vulnerability library
Security checkApril 22, 2025

Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmxrpl

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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. If you are using one of these versions, stop immediately and rotate any private keys or secrets used with affected systems.

Version 2.14.

Recommendation

Update the xrpl package to the latest compatible version. Followings are version details:

  • Affected version(s): **= 2.14.2 >= 4.2.1, < 4.2.5**
  • Patched version(s): **2.14.3 4.2.5**

References

Could your website be exposed too?

SmartScanner can check your website for Compromised xrpl.js versions 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2 and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 22, 2025