Malicious Code Detected in calendar-widget Package (npm)
Summary
MAL-2025-16449: Malicious code in calendar-widget (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 calendar-widget package is a JavaScript library designed for creating interactive calendar interfaces in web applications. It offers features such as event management, date selection, and customizable views. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the calendar-widget package. This code can potentially compromise the security of applications that depend on it, leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions of the package starting from its introduction, 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 calendar-widget
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, consider removing the calendar-widget package from your project until a secure version is released. You can do this by executing the following command: npm uninstall calendar-widget.
Conclusion
The calendar-widget package has been identified as containing malicious code, which poses a significant risk to applications that utilize it. Users are strongly advised to update or remove the package to mitigate potential security threats.
See every vulnerability recorded for calendar-widget →
FAQ
The calendar-widget package is a JavaScript library used for creating interactive calendar interfaces in web applications.
The vulnerability involves the presence of malicious code within the package, which can compromise application security.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If an immediate update is not possible, consider removing the calendar-widget package from your project as a temporary measure.
Detailed information about the vulnerability can be found on the GitHub repository of the malicious packages project.