Critical Malicious Code Vulnerability in @kvytech/medusa-plugin-newsletter
Summary
MAL-2025-190816: Malicious code in @kvytech/medusa-plugin-newsletter (npm). Affects @kvytech/medusa-plugin-newsletter versions 0.0.5. 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 @kvytech/medusa-plugin-newsletter is an npm package designed to integrate newsletter functionalities into Medusa-based applications. It allows developers to manage and send newsletters seamlessly. However, this package has been compromised, embedding malicious code that poses significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the @kvytech/medusa-plugin-newsletter package. This code can fully compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The ramifications are severe, as the malicious code may persist even after the package is removed, leaving systems vulnerable to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @kvytech/medusa-plugin-newsletter
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 measure, avoid using the @kvytech/medusa-plugin-newsletter package until it has been confirmed safe. Monitor your systems for any unusual activity and consider using alternative packages for newsletter functionalities.
Conclusion
The @kvytech/medusa-plugin-newsletter package has been identified as containing malicious code that poses a significant security threat. Immediate action is required to mitigate risks, including removing the package and securing sensitive information. Continuous monitoring and using tools like Vulert can help prevent future vulnerabilities.
See every vulnerability recorded for @kvytech/medusa-plugin-newsletter →
FAQ
Immediately remove the package and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Failure to address this vulnerability may lead to unauthorized access to sensitive data and complete system compromise.
While removing the package is essential, there is no guarantee that all malicious software will be removed. A thorough security audit of the system is recommended.