CVE-2025-59162
color-convert: [email protected] contains malware after npm account takeover
Severity
ImportantRed Hat Product Security
CVSS
Review impact separately from score.
Published · September 16, 2025
Updated · October 27, 2026
Description
color-convert provides plain color conversion functions in JavaScript. On 8 September 2025, the npm publishing account for color-convert was taken over after a phishing attack. Version 3.1.1 was published, functionally identical to the previous patch version, but with a malware payload added attempting to redirect cryptocurrency transactions to the attacker's own addresses from within browser environments. Local environments, server environments, command line applications, etc. are not affected. If the package was used in a browser context (e.g. a direct
Statement
No Red Hat products use any compromised version of the impacted package(s). For more details see https://access.redhat.com/security/supply-chain-attacks-NPM-packages
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE-506 · Embedded Malicious Code