Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in react-icons-svgo (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 19:53:21 UTC)
Source: GCVE Database
Product: react-icons-svgo

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.

Affected software

npmghsa
react-icons-svgo
Affected versions
=1.0.0=1.5.4=1.5.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 09:53:04 UTC

Technical Analysis

The react-icons-svgo package versions 1.0.0, 1.5.3, and 1.5.4 include base64-encoded literals that decode to a shell command installing the rollup-plugin-polyfill-handler module without saving it to dependencies. Upon invoking advertised API functions related to SVG validation, the package decodes and executes this command silently, then requires and runs the installed module's getPlugin() function. Since the installed package is fully controlled by a third party and not declared in dependencies, this results in arbitrary remote code execution within the Node.js process using react-icons-svgo.

Potential Impact

This vulnerability allows an attacker controlling the third-party package rollup-plugin-polyfill-handler to execute arbitrary code on any system that installs and uses the affected react-icons-svgo versions. The code executes with the privileges of the Node.js process, potentially leading to full system compromise or further malicious activity. The malicious package masquerades as a legitimate utility, increasing the risk of inadvertent installation and exploitation.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or using react-icons-svgo versions 1.0.0, 1.5.3, and 1.5.4. Remove the package from projects and replace it with trusted alternatives. Monitor vendor advisories for updates or official fixes. Since this is a malicious package, consider auditing dependencies for similar typosquatting or impersonation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10482
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a55ffa068715ace432f7142

Added to database: 07/14/2026, 09:21:36 UTC

Last enriched: 07/14/2026, 09:53:04 UTC

Last updated: 07/21/2026, 21:24:13 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses