Malicious Code Detected in bootstrap-material-design-datepicker Package
Summary
MAL-2025-15990: Malicious code in bootstrap-material-design-datepicker (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 bootstrap-material-design-datepicker package is a JavaScript library designed to provide a material design styled datepicker for web applications. It is commonly used in projects that require a user-friendly interface for date selection. However, this package has been identified to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the bootstrap-material-design-datepicker package. This code can potentially compromise the security of applications that depend on it, leading to unauthorized access, data breaches, or other harmful actions. The malicious nature of this code makes it imperative for developers to address this vulnerability promptly to safeguard their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bootstrap-material-design-datepicker
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
If immediate updating is not feasible, consider removing the bootstrap-material-design-datepicker package from your project and replacing it with an alternative datepicker library that does not have known vulnerabilities.
Conclusion
The bootstrap-material-design-datepicker package has been identified to contain malicious code, which poses a serious risk to applications using it. Developers are urged to update the package to a patched version or consider alternative solutions to mitigate potential threats.
See every vulnerability recorded for bootstrap-material-design-datepicker →
FAQ
It is a JavaScript library that provides a material design styled datepicker for web applications.
The specific details of the malicious code have not been disclosed, but it poses a risk of unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Consider removing the package and using an alternative datepicker library until you can update.
Yes, Vulert can help you monitor your dependencies for vulnerabilities using just your package-lock.json file.