Critical Malicious Code Vulnerability in react-svg-supporter Package
Summary
MAL-2025-192314: Malicious code in react-svg-supporter (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 react-svg-supporter package is a JavaScript library used in web development to facilitate the use of SVG (Scalable Vector Graphics) in React applications. It provides developers with tools to easily integrate and manipulate SVG images within their React components. However, this package has been identified to contain malicious code, posing significant security risks to any application that utilizes it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the react-svg-supporter package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it can lead to full control of the affected system by an external entity. Users are advised to treat any system running this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-svg-supporter
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Users should ensure that they do not use the react-svg-supporter package in their projects until a safe version is released.
Conclusion
The react-svg-supporter package has been identified as containing malicious code that poses a significant security threat. Users must act swiftly to remove the package and secure their systems. Continuous monitoring for updates and potential patches is essential to mitigate future risks.
See every vulnerability recorded for react-svg-supporter →
FAQ
Immediately remove the react-svg-supporter package from your project and consider the system compromised.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Leaving the package installed can lead to unauthorized access to sensitive data and full control of your system by malicious actors.
Yes, after removing the package, you should rotate all secrets and keys stored on the affected system from a secure computer.
Currently, there is no patch available. Users should monitor the package repository for updates and patches.