CVE-2025-59145: color-name@2.0.1 contains malware after npm account takeover
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
color-name is a JSON with CSS color names. On 8 September 2025, an npm publishing account for color-name was taken over after a phishing attack. Version 2.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. See references below for more information on the payload. 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 issue is resolved in 2.0.2.
Description quoted from the CVE record (assigned by GitHub_M, published 2025-09-15).
Weakness: CWE-506: Embedded Malicious Code
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing no privileges and no user interaction. Impact: confidentiality low, integrity high, availability none. 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
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Also known as: BDU:2026-07577, CNNVD-202509-1978, EUVD-2025-196724, EUVD-2025-29260, GHSA-5fvm-p68v-5wmh
Exploit Observer has no public exploit code that names this CVE or one of its aliases.
Research and write-ups (1)
- Research or write-up: https://vulners.com/cve/CVE-2025-59145
Vulnerability databases and vendor advisories (8)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-196724
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-29260
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-5fvm-p68v-5wmh
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-59145
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/CVE-2025-59145
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-5fvm-p68v-5wmh
- Vulnerability database or vendor advisory: https://www.cnnvd.org.cn/home/globalSearch?keyword=CNNVD-202509-1978
- Vulnerability database or vendor advisory: https://www.tenable.com/cve/CVE-2025-59145
7 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.006
low predicted chance of attack - VEDAS
- 0.055
little exploit evidence - On CISA KEV
- Not listed
- Detection rule
- None yet
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| colorjs color-name | version = 2.0.1 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: npm color-name, сообщество_свободного_программного_обеспечения color-name.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
There is no open VEDAS detection rule for this bug yet. It is listed on the detection gaps page if CISA has confirmed attacks.
Advisories on this CVE
- CamoLeak, GitHub Copilot Chat private-repo exfiltration (October 2025)
References
Other references
- https://github.com/colorjs/color-name/security/advisories/GHSA-5fvm-p68v-5wmh (x_refsource_CONFIRM)
- https://github.com/debug-js/debug/issues/1005 (x_refsource_MISC)
- https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack (x_refsource_MISC)
- https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised (x_refsource_MISC)
- https://www.ox.security/blog/npm-packages-compromised (x_refsource_MISC)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.