Critical Malicious Code Vulnerability in webp-https-errors Package
Summary
MAL-2026-16459: Malicious code in webp-https-errors (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 webp-https-errors package is an npm library designed to handle errors related to HTTPS requests in web applications. It aims to simplify error management and improve the user experience by providing clear error messages. However, this package has been compromised, leading to severe security risks for any application utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the webp-https-errors package. This code can fully compromise any computer that has the package installed, allowing external entities to gain control over the system. The ramifications include unauthorized access to sensitive data, such as secrets and keys, and potential further exploitation of the compromised system. The vulnerability is classified under CWE-506, indicating the presence of embedded malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall webp-https-errors
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 other than removing the package entirely. It is essential to ensure that your application does not rely on this package for error handling.
Conclusion
The webp-https-errors package has been compromised with malicious code, posing significant risks to any system using it. Immediate removal of the package and rotation of sensitive information is essential to mitigate these risks. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for webp-https-errors →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and further exploitation by malicious actors.
No, there is no patched version available. The only solution is to remove the package entirely.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to the latest secure versions.