{"id":"CVE-2025-59143","published":"2025-09-15T19:10:01Z","modified":"2025-09-15T19:50:50Z","title":"color@5.0.1 contains malware after npm account takeover","vendor":"Qix-","product":"color","tier":"tail","description":{"text":"color is a Javascript color conversion and manipulation library. On 8 September 2025, the npm publishing account for color was taken over after a phishing attack. Version 5.0.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 <script> inclusion, or via a bundling tool such as Babel, Rollup, Vite, Next.js, etc.) there is a chance the malware still exists and such bundles will need to be rebuilt. The malware seemingly only targets cryptocurrency transactions and wallets such as MetaMask. npm removed the offending package from the registry over the course of the day on 8 September, preventing further downloads from npm proper. On 13 September, the package owner published new patch versions to help cache-bust those using private registries who might still have the compromised version cached. Users should update to the latest patch version, completely remove their node_modules directory, clean their package manager's global cache, and rebuild any browser bundles from scratch. Those operating private registries or registry mirrors should purge the offending versions from any caches. This issues has been resolved in 5.0.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00723,"percentile":0.49867,"provenance":"source"},"cwes":[{"id":"CWE-506","name":"Embedded Malicious Code"}],"references":[{"url":"https://github.com/Qix-/color/security/advisories/GHSA-qrmh-qg46-72pp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/debug-js/debug/issues/1005","tags":["x_refsource_MISC"]},{"url":"https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack","tags":["x_refsource_MISC"]},{"url":"https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised","tags":["x_refsource_MISC"]},{"url":"https://www.ox.security/blog/npm-packages-compromised","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":9.97},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"qix","affectedVersions":[{"vendor":"Qix-","product":"color","versions":["= 5.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-09-15T19:50:43.373770Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"color","vulnerableRanges":[">=5.0.1, <5.0.2"],"patched":["5.0.2"],"from":["GHSA-qrmh-qg46-72pp"],"provenance":"source"}],"summary":{"text":"The color npm package has a supply-chain compromise: version 5.0.1, published after the maintainer's npm account was taken over by phishing, embeds a malware payload in the library's color conversion and manipulation code. An attacker who can get the affected build into a browser context, such as through a direct script inclusion or a bundler like Babel, Rollup, Vite or Next.js, can redirect cryptocurrency transactions to their own addresses. Only browser-side use is affected, and no user interaction beyond running the bundled code is described.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:42Z"},"euvd":{"id":"EUVD-2025-29227","exploited":false,"provenance":"source"}}