Malicious Code Vulnerability in ve-editor Package
Summary
MAL-2025-47359: Malicious code in ve-editor (npm). Affects ve-editor versions >= 1.0.1, <= 1.0.2. 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 ve-editor package is a JavaScript library used in web development for creating and managing visual editors. It provides a range of features for editing content dynamically. However, the package has been compromised, leading to the introduction of malicious code that poses significant security risks to users and their systems.
Vulnerability Detail
The vulnerability stems from the compromise of the ve-editor package, where malicious code was embedded. This code is designed to steal tokens and credentials from the user's environment and publish them to GitHub. The malicious payload can propagate itself to other NPM packages owned by the user, leading to a broader security breach. Users who have installed this package should consider their systems fully compromised, as the malicious code can grant external entities control over their computers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ve-editor
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
Currently, there are no specific workarounds to mitigate the effects of the malicious code. The best course of action is to uninstall the package and monitor your systems for any unusual activity.
Conclusion
The ve-editor package has been compromised, leading to the introduction of malicious code that poses serious security risks. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Utilizing tools like Vulert can help in monitoring for future vulnerabilities.
See every vulnerability recorded for ve-editor →
FAQ
You should immediately uninstall the ve-editor package and rotate any credentials or tokens that may have been exposed.
You can use Vulert, which monitors open-source vulnerabilities in your software. By checking your package-lock.json file, you can receive real-time alerts for vulnerabilities.
No, there is currently no patched version available. The only solution is to remove the package entirely.
Failing to address this vulnerability can lead to unauthorized access to your systems, theft of sensitive information, and potential propagation of the malicious code to other packages.
You can use Vulert's playground to check for vulnerabilities without needing to sign up. This tool can help you stay informed about any security issues in your dependencies.