Malicious Code Injection in element-plus-vite-cli: A Security Threat

element-plus-vite-cli Updated 21 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16331: Malicious code in element-plus-vite-cli (npm). Affects element-plus-vite-cli versions 2.9.3 – 2.9.5. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

element-plus-vite-cli is a command-line interface tool designed for building applications using Vue 3 and Element Plus. It streamlines the development process by providing essential functionalities for project setup and management. However, recent findings have revealed that this package is susceptible to a significant security vulnerability that allows for the execution of malicious code, potentially compromising user systems.

Vulnerability Detail

The vulnerability originates from the package invoking tooling-bootstrap.cjs, which searches for specific sentinel files characteristic of fintech applications. Upon finding a match, it concatenates and decodes embedded base64 chunks into a malicious MJS agent. This agent is then executed, allowing attackers to perform various operations such as executing arbitrary commands, exfiltrating files, and manipulating system processes. The agent communicates with a command-and-control server, posing severe risks to user data and system integrity.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall element-plus-vite-cli

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 workaround, users can avoid using the element-plus-vite-cli package until a patch is confirmed. Additionally, ensure that your environment variables do not allow insecure TLS connections, which could further expose your system to attacks.

Conclusion

The element-plus-vite-cli package has been identified as having a critical vulnerability that allows for the execution of malicious code. Users are strongly encouraged to update to the latest version to protect their systems. Utilizing tools like Vulert can help monitor and identify vulnerabilities in real-time, ensuring better security practices.

See every vulnerability recorded for element-plus-vite-cli →

Share this vulnerability

FAQ

The vulnerability involves the execution of malicious code that can compromise user systems by allowing unauthorized access and control.

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.

The risks include unauthorized command execution, data exfiltration, and potential system compromise, which can lead to severe security breaches.

Yes, users are advised to update to the latest version of element-plus-vite-cli to mitigate the risks associated with this vulnerability.

If an immediate update is not possible, refrain from using the package and ensure your environment is secured against potential attacks.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall element-plus-vite-cli

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback