Read the docs
TI-2025-36748 Aliases CVE-2025-59143GHSA-qrmh-qg46-72pp

[email protected] contains malware after npm account takeover

Priority MEDIUM 44CWE-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 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00426 37th percentileScored 2026-11-07
Fix Fixed color (npm): 5.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
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
Qix-color= 5.0.1—No fix listedCNA
—color (npm)5.0.1 to before 5.0.25.0.2Patch availableGHSA-qrmh-qg46-72pp
  • color VendorQix- Affected = 5.0.1 Fixed in — No fix listed CNA
  • color (npm) Vendor— Affected 5.0.1 to before 5.0.2 Fixed in 5.0.2 Patch available GHSA-qrmh-qg46-72pp

Remediation

  • Fix · GHSA-qrmh-qg46-72pp color (npm) Fixed in 5.0.2 Advisory →

Vendor assessments

Red Hat

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

Not affected: 17 products
  • Logging Subsystem for Red Hat OpenShift
  • Migration Toolkit for Applications 8
  • OpenShift Serverless
  • Red Hat AMQ Broker 7
  • Red Hat Developer Hub 1
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 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 Single Sign-On 7
  • streams for Apache Kafka 2
  • streams for Apache Kafka 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59143
  2. 2026-10-03 Alias added: GHSA-qrmh-qg46-72pp
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources