Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-59331

HIGH 8.8EPSS 50%

is-arrayish@0.3.3 contains malware after npm account takeover

Also known as GHSA-frh7-2f84-v9mw, GHSA-hfm8-9jrf-7g9w, MAL-2025-46977

Mitigation

  • Upgrade is-arrayish to 0.3.4 or later.

Who should check

  • Projects that depend on npm package is-arrayish (>= 0.3.3, < 0.3.4)
  • Anyone running Qix- node-is-arrayish = 0.3.3

Vulnerability facts

Affected
is-arrayish >= 0.3.3, < 0.3.4
Fixed in
0.3.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.8 (v4.0, CNA)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:RedOpen in CVSS calculator
Show all 13 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Attacked
  • U: Red
EPSS
0.72% chance of exploitation in 30 days (percentile 50, 2026-11-26)
CWE
CWE-506
Published
Modified

Description

is-arrayish checks if an object can be used like an Array. On 8 September 2025, an npm publishing account for is-arrayish was taken over after a phishing attack. Version 0.3.3 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 0.3.4.

Affected and fixed versions

Package / productAffectedFixedSource
npm is-arrayish>= 0.3.3, < 0.3.40.3.4osv
Qix- node-is-arrayish= 0.3.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-59331. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-59331.md
Affected: is-arrayish >= 0.3.3, < 0.3.4
Fixed in: 0.3.4

Steps:
1. Search this machine and project for is-arrayish (npm), Qix- node-is-arrayish: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-59331 being exploited?

There is no confirmed exploitation: CVE-2025-59331 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-59331?

High: CVSS 8.8 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-59331?

is-arrayish >= 0.3.3, < 0.3.4.

Is there a fix for CVE-2025-59331?

Yes. Fixed in 0.3.4. Upgrade is-arrayish to 0.3.4 or later.

How do I check if I'm affected by CVE-2025-59331?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors