Embedded malicious code (backdoor) in color-string - CVE-2025-59142
Published: April 24, 2026
color-string
Detailed vulnerability description
The vulnerability allows a remote attacker to manipulate cryptocurrency transactions in browser environments.
The vulnerability exists due to embedded malicious code in the color-string package when the package is executed in a browser context. A remote attacker can publish and distribute a compromised package version to manipulate cryptocurrency transactions in browser environments.
Local environments, server environments, and command line applications are not affected. The malware appears to target cryptocurrency wallets and transactions such as MetaMask.