CVE-2025-59145: Cryptocurrency-stealing malware in color-name 2.0.1
color-name 2.0.1 contains malicious code introduced after an attacker compromised an npm publishing account through phishing on September 8, 2025. The release retained the package's legitimate CSS color-name functionality while adding a browser-targeted payload that attempted to redirect cryptocurrency transactions to attacker-controlled addresses. Applications that included the compromised version directly or through browser bundling could distribute the payload to users. Local-only, server-side, and command-line execution environments are not affected. The issue is resolved in version 2.0.2.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected browser applications can expose users to cryptocurrency transaction manipulation and financial loss, including transactions involving wallets such as MetaMask. Previously generated browser bundles may retain the malicious payload even after the compromised release is removed from the package registry. The identified payload targets cryptocurrency transactions; broader host compromise or server-side exploitation is not established.
Mitigation
If you can’t patch tonight, do this now.
Prevent color-name 2.0.1 from being installed or distributed through internal registries and build pipelines. Until clean browser bundles are available, avoid serving bundles containing the compromised release. Do not rely solely on the package's removal from npm, because private registry caches and existing bundles may preserve the payload.
Remediation
Patch, then assume compromise.
Upgrade color-name to version 2.0.2 or a later patched release. Completely remove the installed dependency directory, clear the package manager's global cache, reinstall dependencies using the patched version, and rebuild and redeploy all affected browser bundles from scratch. Operators of private registries and registry mirrors should purge version 2.0.1 from their caches. Removal from the public npm registry does not clean existing installations, cached packages, or deployed bundles.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2025-59145 exploited in the wild?
- As of Nov 9, 2026, Mallory has no reports of CVE-2025-59145 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-59145?
- As of Nov 9, 2026, Mallory has found no public exploit for CVE-2025-59145.
- Is there a patch for CVE-2025-59145?
- Upgrade color-name to version 2.0.2 or a later patched release. Completely remove the installed dependency directory, clear the package manager's global cache, reinstall dependencies using the patched version, and rebuild and redeploy all affected browser bundles from scratch.
- How severe is CVE-2025-59145?
- CVE-2025-59145 has a CVSS v4 score of 8.8 (High) and an EPSS score of 0.72% (50th percentile) as of Nov 9, 2026.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.