Malicious Code Vulnerability in bootstrap-setflexcolor Package
Summary
MAL-2025-192718: Malicious code in bootstrap-setflexcolor (npm). Affects bootstrap-setflexcolor versions 1.9.15. 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 bootstrap-setflexcolor package is an npm library designed to provide flexible color settings for Bootstrap-based web applications. It allows developers to customize the color scheme of their Bootstrap components easily. However, this package has been identified as containing malicious code, which poses significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the bootstrap-setflexcolor package, specifically in version 1.9.15. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability is linked to a malicious actor who has injected harmful code into the package, which can execute harmful operations when the package is used in a project.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bootstrap-setflexcolor
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 bootstrap-setflexcolor package from your project until a secure version is released. You can do this by running the following command: npm uninstall bootstrap-setflexcolor. This will prevent any potential exploitation of the malicious code until a fix is available.
Conclusion
The bootstrap-setflexcolor package has been identified as containing malicious code that poses a significant security risk to applications that utilize it. It is crucial for developers to update or remove the affected package to safeguard their applications from potential exploitation. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for bootstrap-setflexcolor →
FAQ
bootstrap-setflexcolor is an npm package that allows developers to customize the color scheme of Bootstrap components in their web applications.
You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your package-lock.json file without any signup.
If you are using version 1.9.15 of bootstrap-setflexcolor, you should update to a patched version as soon as it is available or remove the package from your project.
Using the compromised package can lead to unauthorized access, data breaches, and other malicious activities that can compromise the security of your application.
You can use tools like Vulert to monitor your dependencies for vulnerabilities and receive alerts in real-time.