Skip to main content
MalwarePublished Updated

react-icons-svgo (npm) · Malicious Code

Affects react-icons-svgoSource GCVE Database

0

Malicious package : remove react-icons-svgo and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:56 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10482

What to do

Remove react-icons-svgo from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmreact-icons-svgoAffected
  • =1.0.0
  • =1.5.4
  • =1.5.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The react-icons-svgo npm package contains malicious code that executes a hidden command to install a third-party module at runtime. This module is not declared in dependencies and is controlled by an external publisher, enabling arbitrary remote code execution when the package's SVG-related API is used. The package impersonates popular libraries but provides no legitimate functionality beyond this covert behavior.

References

Community reviews

Loading reviews…