CWE-94: Improper Control of Generation of Code (Code Injection), published in 2023, page 6
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
- 8.8CVE-2023-32528trendmicro mobile securityEPSS 3.0%
Trend Micro Mobile Security (Enterprise) 9.8 SP5 contains vulnerable .php files that could allow a remote attacker to execute arbitrary code on affected installations. Please note: an attacker must first obtain the ability to execute lo…
- 8.8CVE-2023-32527trendmicro mobile securityEPSS 2.9%
Trend Micro Mobile Security (Enterprise) 9.8 SP5 contains vulnerable .php files that could allow a remote attacker to execute arbitrary code on affected installations. Please note: an attacker must first obtain the ability to execute lo…
- 9.8CVE-2021-31635jfinalEPSS 1.2%
Server-Side Template Injection (SSTI) vulnerability in jFinal v.4.9.08 allows a remote attacker to execute arbitrary code via the template function.
- 7.2CVE-2023-3393fossbillingEPSS 1.0%
Code Injection in GitHub repository fossbilling/fossbilling prior to 0.5.1.
- 8.8CVE-2023-35152xwikiEPSS 1.0%
XWiki Platform is a generic wiki platform. Starting in version 12.9-rc-1 and prior to versions 14.4.8, 14.10.6, and 15.1, any logged in user can add dangerous content in their first name field and see it executed with programming rights. L…
- 8.0CVE-2023-35150xwikiEPSS 78%
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting in version 2.40m-2 and prior to versions 14.4.8, 14.10.4, and 15.0, any user with view rights on any document can execute cod…
- 9.9CVE-2023-35926linuxfoundation backstageEPSS 1.9%
Backstage is an open platform for building developer portals. The Backstage scaffolder-backend plugin uses a templating library that requires sandbox, as it by design allows for code injection. The library used for this sandbox so far has …
- 7.2CVE-2020-20918pluck-cms pluckEPSS 1.1%
An issue discovered in Pluck CMS v.4.7.10-dev2 allows a remote attacker to execute arbitrary php code via the hidden parameter to admin.php when editing a page.
- 8.8CVE-2023-26436open-xchange appsuite backendEPSS 1.3%
Attackers with access to the "documentconverterws" API were able to inject serialized Java objects, that were not properly checked during deserialization. Access to this API endpoint is restricted to local networks by default. Arbitrary co…
- 8.8CVE-2023-2359themepunch slider revolutionEPSS 2.5%
The Slider Revolution WordPress plugin through 6.6.12 does not check for valid image files upon import, leading to an arbitrary file upload which may be escalated to Remote Code Execution in some server configurations.
- 9.8CVE-2023-35853oisf suricataEPSS 1.0%
In Suricata before 6.0.13, an adversary who controls an external source of Lua rules may be able to execute Lua code. This is addressed in 6.0.13 by disabling Lua unless allow-rules is true in the security lua configuration section.
- 9.8CVE-2023-35813sitecoreEPSS 87%
Multiple Sitecore products allow remote code execution. This affects Experience Manager, Experience Platform, and Experience Commerce through 10.3.
- 8.8CVE-2023-35809sugarcrmEPSS 1.3%
An issue was discovered in SugarCRM Enterprise before 11.0.6 and 12.x before 12.0.3. A Bean Manipulation vulnerability has been identified in the REST API. By using a crafted request, custom PHP code can be injected through the REST API be…
- 7.2CVE-2023-34448getgrav gravEPSS 4.5%
Grav is a flat-file content management system. Prior to version 1.7.42, the patch for CVE-2022-2073, a server-side template injection vulnerability in Grav leveraging the default `filter()` function, did not block other built-in functions …
- 7.2CVE-2023-34253getgrav gravEPSS 2.1%
Grav is a flat-file content management system. Prior to version 1.7.42, the denylist introduced in commit 9d6a2d to prevent dangerous functions from being executed via injection of malicious templates was insufficient and could be easily s…
- 7.2CVE-2023-34252getgrav gravEPSS 2.1%
Grav is a flat-file content management system. Prior to version 1.7.42, there is a logic flaw in the `GravExtension.filterFilter()` function whereby validation against a denylist of unsafe functions is only performed when the argument pass…
- 7.2CVE-2023-34251getgrav gravEPSS 2.3%
Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template injection. Remote code execution is possible by embedding malicious PHP code on the administrator screen by a user with page edi…
- 7.8CVE-2023-1049schneider-electricEPSS 0.6%
A CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability exists that could cause execution of malicious code when an unsuspicious user loads a project file from the local filesystem into the HMI.
- 8.8CVE-2023-33131microsoftExploitEPSS 5.7%
Microsoft Outlook Remote Code Execution Vulnerability
- 5.5CVE-2023-21569microsoft azure devops serverEPSS 0.7%
Azure DevOps Server Spoofing Vulnerability
- 9.8CVE-2023-3224nuxtEPSS 59%
Code Injection in GitHub repository nuxt/nuxt prior to 3.5.3.
- 7.2CVE-2023-30179craftcms craft cmsEPSS 2.2%
CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User Settings, lead to Remote Code Executio…
- 4.4CVE-2023-32546chatworkEPSS 0.3%
Code injection vulnerability exists in Chatwork Desktop Application (Mac) 2.6.43 and earlier. If this vulnerability is exploited, a non-administrative user of the Mac where the product is installed may store and obtain audio and image data…
- 8.8CVE-2023-25910siemensEPSS 1.0%
A vulnerability has been identified in SIMATIC PCS 7 (All versions < V9.1 SP2 UC04), SIMATIC S7-PM (All versions < V5.7 SP1 HF1), SIMATIC S7-PM (All versions < V5.7 SP2 HF1), SIMATIC STEP 7 V5 (All versions < V5.7). The affected product co…
- 8.8CVE-2023-34468apache nifiExploitEPSS 62%
The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution. The re…
- 9.8CVE-2023-35034atosEPSS 1.3%
Atos Unify OpenScape 4000 Assistant V10 R1 before V10 R1.42.0 and V10 R1.34.8 and Manager V10 R1 before V10 R1.42.0 and V10 R1.34.8 allow remote code execution by unauthenticated users, aka OSFOURK-24033.
- 7.8CVE-2019-16283hp softpaq installerEPSS 0.3%
A potential security vulnerability has been identified with a version of the HP Softpaq installer that can lead to arbitrary code execution.
- 8.8CVE-2023-34112bytedeco javacpp presetsEPSS 1.9%
JavaCPP Presets is a project providing Java distributions of native C++ libraries. All the actions in the `bytedeco/javacpp-presets` use the `github.event.head_commit.message` parameter in an insecure way. For example, the commit message …
- 9.8CVE-2023-29404EPSS 1.8%
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, sp…
- 9.8CVE-2023-29402EPSS 1.7%
The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newl…
- 9.8CVE-2023-34237sabnzbdEPSS 1.7%
SABnzbd is an open source automated Usenet download tool. A design flaw was discovered in SABnzbd that could allow remote code execution. Manipulating the Parameters setting in the Notification Script functionality allows code execution wi…
- 9.8CVE-2020-36708EPSS 65%
The following themes for WordPress are vulnerable to Function Injections in versions up to and including Shapely <= 1.2.7, NewsMag <= 2.4.1, Activello <= 1.4.0, Illdy <= 2.1.4, Allegiant <= 1.2.2, Newspaper X <= 1.3.1, Pixova Lite <= 2.0.5…
- 9.8CVE-2023-32540advantech webaccess\/scadaEPSS 0.9%
In Advantech WebAccss/SCADA v9.1.3 and prior, there is an arbitrary file overwrite vulnerability, which could allow an attacker to overwrite any file in the operating system (including system files), inject code into an XLS file, and modif…
- 7.8CVE-2023-33733reportlabEPSS 2.1%
Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file.
- 7.8CVE-2023-27744southrivertech titan ftp server nextgenEPSS 0.8%
An issue was discovered in South River Technologies TitanFTP NextGen server that allows for a vertical privilege escalation leading to remote code execution.
- 7.8CVE-2022-35743microsoftEPSS 1.5%
Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability
- 9.8CVE-2023-25539dell networkerEPSS 1.5%
Dell NetWorker 19.6.1.2, contains an OS command injection Vulnerability in the NetWorker client. A remote unauthenticated attacker could potentially exploit this vulnerability, leading to the execution of arbitrary OS commands on the appli…
- 9.8CVE-2023-32692codeigniterEPSS 1.1%
CodeIgniter is a PHP full-stack web framework. This vulnerability allows attackers to execute arbitrary code when you use Validation Placeholders. The vulnerability exists in the Validation library, and validation methods in the controller…
- 8.8CVE-2023-2943open-emr openemrEPSS 0.6%
Code Injection in GitHub repository openemr/openemr prior to 7.0.1.
- 8.8CVE-2023-2928dedecmsEPSS 51%
A vulnerability was found in DedeCMS up to 5.7.106. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file uploads/dede/article_allowurl_edit.php. The manipulation of the argument allurls l…
- 7.2CVE-2023-33440faculty evaluation system project faculty evaluation systemExploitEPSS 15%
Sourcecodester Faculty Evaluation System v1.0 is vulnerable to arbitrary code execution via /eval/ajax.php?action=save_user.
- 9.8CVE-2023-30145tuzitio camaleon cmsExploitEPSS 46%
Camaleon CMS v2.7.0 was discovered to contain a Server-Side Template Injection (SSTI) vulnerability via the formats parameter.
- 9.8CVE-2023-33246apache rocketmqKEVExploitEPSS 97%
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution. Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission ve…
- 8.8CVE-2023-2859teampassEPSS 1.6%
Code Injection in GitHub repository nilsteampassnet/teampass prior to 3.0.9.
- 9.8CVE-2023-32697sqlite jdbc project sqlite jdbcEPSS 1.6%
SQLite JDBC is a library for accessing and creating SQLite database files in Java. Sqlite-jdbc addresses a remote code execution vulnerability via JDBC URL. This issue impacting versions 3.6.14.1 through 3.41.2.1 and has been fixed in vers…
- 9.8CVE-2023-25953worksmobile drive explorerEPSS 0.6%
Code injection vulnerability in Drive Explorer for macOS versions 3.5.4 and earlier allows an attacker who can login to the client where the affected product is installed to inject arbitrary code while processing the product execution. Sin…
- 9.8CVE-2023-29861flir dvtel camera firmwareEPSS 1.8%
An issue found in FLIR-DVTEL version not specified allows a remote attacker to execute arbitrary code via a crafted request to the management page of the device.
- 9.8CVE-2023-29862agasio camera project agasio camera firmwareEPSS 1.9%
An issue found in Agasio-Camera device version not specified allows a remote attacker to execute arbitrary code via the check and authLevel parameters.
- 7.5CVE-2022-47879jedoxExploitEPSS 6.3%
A Remote Code Execution (RCE) vulnerability in /be/rpc.php in Jedox 2020.2.5 allows remote authenticated users to load arbitrary PHP classes from the 'rtn' directory and execute its methods. NOTE: The vendor states that the vulnerability a…
- 8.8CVE-2023-30130craftcms craft cmsEPSS 1.4%
An issue found in CraftCMS v.3.8.1 allows a remote attacker to execute arbitrary code via a crafted script to the Section parameter.