Malicious Code Detected in fusion-plugin-google-analytics-react Package
Summary
MAL-2025-21067: Malicious code in fusion-plugin-google-analytics-react (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The fusion-plugin-google-analytics-react package is designed to integrate Google Analytics into React applications, providing developers with tools to track user interactions and gather analytics data. This package is widely used in the npm ecosystem for enhancing web applications with analytics capabilities. However, it has been found to contain malicious code, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the fusion-plugin-google-analytics-react package stems from the inclusion of malicious code that can compromise the integrity of applications using this package. This malicious code could potentially lead to unauthorized data access, data manipulation, or other harmful actions within the application. The issue was introduced in version 0 and affects all subsequent versions, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fusion-plugin-google-analytics-react
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can remove the fusion-plugin-google-analytics-react package from your project until a secure version is released. Use the following command to uninstall it: 'npm uninstall fusion-plugin-google-analytics-react'.
Conclusion
The fusion-plugin-google-analytics-react package has been identified as containing malicious code that poses a security risk to applications. It is crucial for developers to update to the latest version or remove the package until a fix is available. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for fusion-plugin-google-analytics-react →
FAQ
It is a package used to integrate Google Analytics into React applications for tracking user interactions.
The malicious code can compromise application security, leading to unauthorized access or data manipulation.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Yes, updating to the latest version of the package will address the vulnerability. Use 'npm update fusion-plugin-google-analytics-react' to update.
As a temporary measure, consider uninstalling the package using 'npm uninstall fusion-plugin-google-analytics-react' until a secure version is available.