Critical Malicious Code Vulnerability in webmd-cookie Package
Summary
MAL-2026-372: Malicious code in webmd-cookie (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 webmd-cookie package is a Node.js library used for managing cookies in web applications. It is designed to simplify cookie handling, providing developers with an easy way to set, retrieve, and manage cookies in their applications. However, this package has been found to contain malicious code, posing significant security risks to any system that utilizes it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the webmd-cookie package. This code can compromise any computer that has the package installed, granting unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it can lead to complete control of the affected system by an external entity. Users are advised to treat any system running this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall webmd-cookie
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
There are no effective workarounds for this vulnerability. The only safe course of action is to remove the package entirely and secure your system.
Conclusion
The webmd-cookie package has been identified as containing malicious code that poses a significant security risk. Users are strongly advised to uninstall the package immediately and take steps to secure their systems. Regular monitoring of open-source packages is essential to prevent future vulnerabilities.
See every vulnerability recorded for webmd-cookie →
FAQ
The webmd-cookie package is a Node.js library designed for managing cookies in web applications.
The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially granting full control to an external entity.
You should immediately uninstall the webmd-cookie package and rotate any secrets or keys stored on the affected system.
No, there is no patch available for the webmd-cookie package. The only solution is to remove the package.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.