Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-59145— color-name@2.0.1 contains malware after npm account takeover

Quick assessment

Affected
colorjs color-name
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

color-name是color.js开源的一个JavaScript库。 color-name 2.0.1版本存在安全漏洞,该漏洞源于钓鱼攻击导致账户被接管,可能重定向加密货币交易。

AI Predicted 6.5 Difficulty: Trivial EPSS 0.55% · P45
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-59145

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
color-name@2.0.1 contains malware after npm account takeover
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
内嵌的恶意代码
Source: CVE Program / CVE List V5
Vulnerability Title
color-name 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
color-name是color.js开源的一个JavaScript库。 color-name 2.0.1版本存在安全漏洞,该漏洞源于钓鱼攻击导致账户被接管,可能重定向加密货币交易。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
colorjs color-name = 2.0.1 -

II. Public POCs for CVE-2025-59145

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59145

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-59145 (1)

Security Blog Posts for CVE-2025-59145 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-59145

No comments yet


Leave a comment