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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-59162— color-convert@3.1.1 contains malware after npm account takeover

Quick assessment

Affected
Qix- color-convert
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-convert是Josh Junon个人开发者的一个JavaScript中的颜色转换函数。 color-convert 3.1.1版本存在安全漏洞,该漏洞源于账户被钓鱼攻击后植入恶意代码,可能导致浏览器环境中加密货币交易被重定向。

AI Predicted 5.3 Difficulty: Trivial EPSS 0.41% · P34
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-59162

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-convert@3.1.1 contains malware after npm account takeover
Source: CVE Program / CVE List V5
Vulnerability Description
color-convert provides plain color conversion functions in JavaScript. On 8 September 2025, the npm publishing account for color-convert was taken over after a phishing attack. Version 3.1.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 issue is resolved in 3.1.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-convert 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
color-convert是Josh Junon个人开发者的一个JavaScript中的颜色转换函数。 color-convert 3.1.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
Qix- color-convert = 3.1.1 -

II. Public POCs for CVE-2025-59162

# 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-59162

登录查看更多情报信息。

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

Same Patch Batch · Qix- · 2025-09-15 · 7 CVEs total

CVE-2025-59140 backslash@0.2.1 contains malware after npm account takeover
CVE-2025-59142 color-string@2.1.1 contains malware after npm account takeover
CVE-2025-59141 simple-swizzle@0.2.3 contains malware after npm account takeover
CVE-2025-59331 is-arrayish@0.3.3 contains malware after npm account takeover
CVE-2025-59330 error-ex@1.3.3 contains malware after npm account takeover
CVE-2025-59143 color@5.0.1 contains malware after npm account takeover

IV. Related Vulnerabilities

V. Comments for CVE-2025-59162

No comments yet


Leave a comment