Malicious Code Vulnerability in bootstrap-setcolor Package
Summary
MAL-2025-192716: Malicious code in bootstrap-setcolor (npm). Affects bootstrap-setcolor versions 1.9.15 – 1.9.16. 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-setcolor package is a utility for managing color themes in Bootstrap-based web applications. It allows developers to easily set and customize colors for various components. However, this package has been found to contain malicious code that can compromise the security of applications using it.
Vulnerability Detail
The vulnerability in the bootstrap-setcolor package stems from the inclusion of malicious code that can execute unauthorized actions within the user's environment. This issue was identified in versions 1.9.15 and 1.9.16 of the package. The malicious code can lead to data theft, unauthorized access, or even complete system compromise, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bootstrap-setcolor
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, users can remove the bootstrap-setcolor package from their project until a secure version is confirmed. This can be done with the command: 'npm uninstall bootstrap-setcolor'. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The bootstrap-setcolor package has been identified as containing malicious code, posing significant security risks to applications that utilize it. Users are strongly advised to update to a secure version or remove the package until a fix is available. Utilizing tools like Vulert can help in monitoring and managing such vulnerabilities effectively.
See every vulnerability recorded for bootstrap-setcolor →
FAQ
Versions 1.9.15 and 1.9.16 of the bootstrap-setcolor package are known to contain malicious code.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can provide real-time alerts for any vulnerabilities.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Failing to address this vulnerability can lead to data breaches, unauthorized access to sensitive information, and potential damage to your application's integrity.