Critical Malicious Code Vulnerability in react-responsive-carousel-v4 Package
Summary
MAL-2026-684: Malicious code in react-responsive-carousel-v4 (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-responsive-carousel-v4 package is a popular npm library used for creating responsive carousels in web applications. It provides a variety of features such as customizable settings, smooth transitions, and accessibility support. However, this package has been found 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-responsive-carousel-v4 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 complete control of the affected system by an outside entity. Users are advised to treat any system with 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-responsive-carousel-v4
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
Currently, the only effective workaround is to uninstall the react-responsive-carousel-v4 package. You can do this by running the following command in your project directory: npm uninstall react-responsive-carousel-v4. After removal, ensure to monitor your system for any signs of compromise.
Conclusion
The discovery of malicious code in the react-responsive-carousel-v4 package poses a significant threat to users. Immediate action is required to remove the package and secure any compromised systems. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for react-responsive-carousel-v4 →
FAQ
Immediately uninstall the package and rotate any sensitive information stored on the affected system.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
You should only use the package if a secure, patched version is released. Always verify the integrity of packages before installation.