CWE-94: Improper Control of Generation of Code (Code Injection), published in 2024, page 9
Filter
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
What the weakness is: CWE-94 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses
Related attack patterns (CAPEC): 3
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
- CAPEC-242 Code Injection Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-94, as MITRE names them. Credits.
Ask an AI about CWE-94
Show the prompt
Explain CWE-94: Improper Control of Generation of Code and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/94.html and https://cve.bz/cve/cwe/94?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 9.8CVE-2024-21552EPSS 0.6%
All versions of `SuperAGI` are vulnerable to Arbitrary Code Execution due to unsafe use of the ‘eval’ function. An attacker could induce the LLM output to exploit this vulnerability and gain arbitrary code execution on the SuperAGI applica…
- 5.3CVE-2024-6950EPSS 0.4%
A vulnerability, which was classified as critical, has been found in Prain up to 1.3.0. Affected by this issue is some unknown functionality of the file /?import of the component HTTP POST Request Handler. The manipulation of the argument …
- 5.1CVE-2024-6947flute-cms fluteEPSS 0.6%
A vulnerability was found in Flute CMS 0.2.2.4-alpha. It has been rated as critical. This issue affects the function replaceContent of the file app/Core/Support/ContentParser.php of the component Notification Handler. The manipulation lead…
- 5.1CVE-2024-6946flute-cms fluteEPSS 0.6%
A vulnerability was found in Flute CMS 0.2.2.4-alpha. It has been declared as critical. This vulnerability affects unknown code of the file /admin/pages/list. The manipulation of the argument blocks leads to code injection. The attack can …
- 5.1CVE-2024-6940dedecmsEPSS 0.7%
A vulnerability was found in DedeCMS 5.7.114. It has been classified as critical. This affects an unknown part of the file article_template_rand.php. The manipulation leads to code injection. It is possible to initiate the attack remotely.…
- 5.1CVE-2024-6936formtools form toolsEPSS 0.4%
A vulnerability, which was classified as problematic, has been found in formtools.org Form Tools 3.1.1. This issue affects some unknown processing of the file /admin/settings/index.php?page=accounts of the component Setting Handler. The ma…
- 9.8CVE-2024-39962dlink dir-823x firmwareEPSS 2.1%
D-Link DIR-823X AX3000 Dual-Band Gigabit Wireless Router v21_D240126 was discovered to contain a remote code execution (RCE) vulnerability in the ntp_zone_val parameter at /goform/set_ntp. This vulnerability is exploited via a crafted HTTP…
- 8.8CVE-2024-29178apache streamparkEPSS 1.2%
On versions before 2.1.4, a user could log in and perform a template injection attack resulting in Remote Code Execution on the server, The attacker must successfully log into the system to launch an attack, so this is a moderate-impact vu…
- 8.8CVE-2024-29014sonicwall netextenderEPSS 1.9%
Vulnerability in SonicWall SMA100 NetExtender Windows (32 and 64-bit) client 10.2.339 and earlier versions allows an attacker to arbitrary code execution when processing an EPC Client update.
- 8.8CVE-2024-39877apache airflowEPSS 1.7%
Apache Airflow 2.4.0, and versions before 2.9.3, has a vulnerability that allows authenticated DAG authors to craft a doc_md parameter in a way that could execute arbitrary code in the scheduler context, which should be forbidden according…
- 1.9CVE-2024-6807oretnom23 student study center desk management systemEPSS 0.7%
A vulnerability was found in SourceCodester Student Study Center Desk Management System 1.0 and classified as problematic. Affected by this issue is some unknown functionality of the file /sscdms/classes/Users.php?f=save of the component H…
- 7.3CVE-2024-40637getdbt dbt-coreEPSS 0.4%
dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. When a user installs a package in dbt, it has the ability to override macros, materializations, and…
- 9.8CVE-2024-39700jupyter jupyterlabEPSS 1.1%
JupyterLab extension template is a `copier` template for JupyterLab extensions. Repositories created using this template with `test` option include `update-integration-tests.yml` workflow which has an RCE vulnerability. Extension authors …
- 7.0CVE-2024-6655EPSS 0.5%
A flaw was found in the GTK library. Under certain conditions, it is possible for a library to be injected into a GTK application from the current working directory.
- 9.9CVE-2024-39915sni thrukEPSS 0.6%
Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API. This authenticated RCE in Thruk allows authorized users with network access to inject arbitrary commands via the URL parameter…
- 9.4CVE-2024-36456broadcom symantec privileged access managementEPSS 0.9%
This vulnerability allows an unauthenticated attacker to achieve remote command execution on the affected PAM system by uploading a specially crafted PAM upgrade file.
- 8.5CVE-2024-21513langchain langchain-experimentalEPSS 1.9%
Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when retrieving values from the database, the code will attempt to call 'eval' on all values. An attacker can exploit t…
- 8.8CVE-2024-6345pypa pypa/setuptoolsEPSS 1.9%
A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved…
- 8.8CVE-2024-40552publiccmsEPSS 0.7%
PublicCMS v4.0.202302.e was discovered to contain a remote commande execution (RCE) vulnerability via the cmdarray parameter at /site/ScriptComponent.java.
- 8.8CVE-2024-40546publiccmsEPSS 0.7%
An arbitrary file upload vulnerability in the component /admin/cmsWebFile/save of PublicCMS v4.0.202302.e allows attackers to execute arbitrary code via uploading a crafted file.
- 8.8CVE-2024-40522seacmsEPSS 1.2%
There is a remote code execution vulnerability in SeaCMS 12.9. The vulnerability is caused by phomebak.php writing some variable names passed in without filtering them before writing them into the php file. An authenticated attacker can ex…
- 8.8CVE-2024-40521seacmsEPSS 1.3%
SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is due to the fact that although admin_template.php imposes certain restrictions on the edited file, attackers can still bypass the restrictions and write code in som…
- 6.5CVE-2024-37405rocket.chatEPSS 0.5%
Livechat messages can be leaked by combining two NoSQL injections affecting livechat:loginByToken (pre-authentication) and livechat:loadHistory.
- 8.8CVE-2024-37149glpi-project glpiEPSS 21%
GLPI is an open-source asset and IT management software package that provides ITIL Service Desk features, licenses tracking and software auditing. An authenticated technician user can upload a malicious PHP script and hijack the plugin loa…
- 9.8CVE-2024-25077EPSS 0.4%
An issue was discovered on Renesas SmartBond DA14691, DA14695, DA14697, and DA14699 devices. The Nonce used for on-the-fly decryption of flash images is stored in an unsigned header, allowing its value to be modified without invalidating t…
- 9.1CVE-2024-37770b1ackc4t 14fingerEPSS 1.6%
14Finger v1.1 was discovered to contain a remote command execution (RCE) vulnerability in the fingerprint function. This vulnerability allows attackers to execute arbitrary commands via a crafted payload.
- 3.5CVE-2024-21832ping identity pingfederateEPSS 0.2%
A potential JSON injection attack vector exists in PingFederate REST API data stores using the POST method and a JSON request body.
- 9.8CVE-2024-39071EPSS 0.8%
Fujian Kelixun <=7.6.6.4391 is vulnerable to SQL Injection in send_event.php.
- 6.1CVE-2024-40735netboxEPSS 0.4%
A cross-site scripting (XSS) vulnerability in netbox v4.0.3 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name parameter at /dcim/power-outlets/{id}/edit/.
- 6.1CVE-2024-40726netboxEPSS 0.4%
A cross-site scripting (XSS) vulnerability in netbox v4.0.3 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name parameter at /dcim/power-ports/{id}/edit/.
- 9.8CVE-2024-6602mozillaEPSS 1.0%
A mismatch between allocator and deallocator could have led to memory corruption. This vulnerability affects Firefox < 128, Firefox ESR < 115.13, Thunderbird < 115.13, and Thunderbird < 128.
- 9.8CVE-2024-37934ninjaforms ninja formsEPSS 0.5%
Improper Control of Generation of Code ('Code Injection') vulnerability in Saturday Drive Ninja Forms allows Code Injection.This issue affects Ninja Forms: from n/a through 3.8.4.
- 9.8CVE-2024-6365woobewoo product table for woocommerce by wbwEPSS 1.2%
The Product Table by WBW plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.0.1 via the 'saveCustomTitle' function. This is due to missing authorization and lack of sanitization of appended …
- 6.5CVE-2024-22020nodejs nodeEPSS 1.1%
A security flaw in Node.js allows a bypass of network import restrictions. By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security. Verified on various platforms, the vulnerabili…
- 9.8CVE-2024-39864apache cloudstackEPSS 1.8%
The CloudStack integration API service allows running its unauthenticated API server (usually on port 8096 when configured and enabled via integration.api.port global setting) for internal portal integrations and for testing purposes. By d…
- 9.8CVE-2024-38346apache cloudstackEPSS 3.3%
The CloudStack cluster service runs on unauthenticated port (default 9090) that can be misused to run arbitrary commands on targeted hypervisors and CloudStack management server hosts. Some of these commands were found to have command inje…
- 9.9CVE-2024-39932gogsEPSS 16%
Gogs through 0.13.0 allows argument injection during the previewing of changes.
- 9.8CVE-2024-39165EPSS 0.8%
QR/demoapp/qr_image.php in Asial JpGraph Professional through 4.2.6-pro allows remote attackers to execute arbitrary code via a PHP payload in the data parameter in conjunction with a .php file name in the filename parameter. This occurs b…
- 8.1CVE-2024-6507EPSS 1.3%
Command injection when ingesting a remote Kaggle dataset due to a lack of input sanitization in the ingest_kaggle() API
- 8.8CVE-2024-33871artifex ghostscriptEPSS 1.4%
An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver library, exploitable via a crafted PostScript document. This occurs because the Driver parameter for…
- 9.8CVE-2024-39844EPSS 3.9%
In ZNC before 1.9.1, remote code execution can occur in modtcl via a KICK.
- 7.8CVE-2024-25086EPSS 0.3%
Improper privilege management in Jungo WinDriver before 12.2.0 allows local attackers to escalate privileges and execute arbitrary code.
- 9.8CVE-2024-39236gradio project gradioEPSS 0.9%
Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. This vulnerability is triggered via a crafted input. NOTE: the supplier disputes this because the report is about a user a…
- 9.8CVE-2024-36401KEVExploitEPSS 99.8%
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users throug…
- 9.8CVE-2024-6376mongodb compassEPSS 0.5%
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2
- 9.8CVE-2024-39017EPSS 0.7%
agreejs shared v0.0.1 was discovered to contain a prototype pollution via the function mergeInternalComponents. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary proper…
- 9.8CVE-2024-39015EPSS 0.7%
cafebazaar hod v0.4.14 was discovered to contain a prototype pollution via the function request. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.
- 6.3CVE-2024-39002richardrodger jsonicEPSS 0.5%
rjrodger jsonic-next v2.12.1 was discovered to contain a prototype pollution via the function util.clone. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.
- 9.8CVE-2024-38993richardrodger jsonicEPSS 0.9%
rjrodger jsonic-next v2.12.1 was discovered to contain a prototype pollution via the function empty. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.
- 6.3CVE-2024-38990EPSS 0.5%
Tada5hi sp-common v0.5.4 was discovered to contain a prototype pollution via the function mergeDeep. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.