Critical Malicious Code Vulnerability in http-emailjs Package
Summary
MAL-2026-723: Malicious code in http-emailjs (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 http-emailjs package is a Node.js library designed for sending emails using JavaScript. It provides a simple interface for integrating email functionality into applications. However, it has been identified to contain malicious code, posing significant security risks to any system utilizing this package.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the http-emailjs package. This code can compromise the entire system where the package is installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it can lead to complete control of the affected computer by an external entity, making it imperative for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall http-emailjs
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 workaround, users should rotate all secrets and keys stored on the affected computer immediately from a different, secure machine. This action helps mitigate the risks associated with the compromised system.
Conclusion
The discovery of malicious code within the http-emailjs package poses a significant threat to users. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for http-emailjs →
FAQ
You should immediately remove the http-emailjs package from your system and rotate any sensitive information stored on that machine.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your system, potentially resulting in data breaches and loss of sensitive information.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
Vulert monitors and alerts for open-source vulnerabilities in your software by analyzing the package-lock.json file, providing real-time insights into potential risks.