Read the docs
TI-2025-36750 Aliases CVE-2025-59145GHSA-5fvm-p68v-5wmh

[email protected] contains malware after npm account takeover

Priority LOW 39CWE-506Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-506.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00554 46th percentileScored 2026-11-07
Fix Fixed color-name (npm): 2.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
colorjscolor-name= 2.0.1—No fix listedCNA
—color-name (npm)2.0.1 to before 2.0.22.0.2Patch availableGHSA-5fvm-p68v-5wmh
  • color-name Vendorcolorjs Affected = 2.0.1 Fixed in — No fix listed CNA
  • color-name (npm) Vendor— Affected 2.0.1 to before 2.0.2 Fixed in 2.0.2 Patch available GHSA-5fvm-p68v-5wmh

Remediation

  • Fix · GHSA-5fvm-p68v-5wmh color-name (npm) Fixed in 2.0.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 53 products
  • Cryostat 4
  • Gatekeeper 3
  • Logging Subsystem for Red Hat OpenShift
  • Migration Toolkit for Applications 7
  • Migration Toolkit for Applications 8
  • Migration Toolkit for Containers
  • Migration Toolkit for Virtualization
  • Multicluster Engine for Kubernetes
  • Multicluster Global Hub
  • Network Observability Operator
  • Node HealthCheck Operator
  • OpenShift Lightspeed
  • OpenShift Pipelines
  • OpenShift Serverless
  • OpenShift Service Mesh 2
  • OpenShift Service Mesh 3
  • Red Hat AMQ Broker 7
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Advanced Cluster Security 4
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ceph Storage 6
  • Red Hat Ceph Storage 7
  • Red Hat Ceph Storage 8
  • Red Hat Connectivity Link 1
  • Red Hat Data Grid 8
  • Red Hat Developer Hub 1
  • Red Hat Directory Server 11
  • Red Hat Discovery 1
  • Red Hat Discovery 2
  • Red Hat Edge Manager preview
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift GitOps
  • Red Hat OpenShift Virtualization 4
  • Red Hat Openshift Data Foundation 4
  • Red Hat Process Automation 7
  • Red Hat Quay 3
  • Red Hat Single Sign-On 7
  • Red Hat Trusted Artifact Signer
  • Red Hat Trusted Profile Analyzer
  • Red Hat build of Apache Camel - HawtIO 4
  • Red Hat build of Apicurio Registry 2
  • Red Hat build of OptaPlanner 8
  • streams for Apache Kafka 2
  • streams for Apache Kafka 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59145
  2. 2026-10-03 Alias added: GHSA-5fvm-p68v-5wmh
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources