← Back
CWE-94

7,057 CVEs • Abstraction: Base • Likelihood of Exploit: Medium

Improper Control of Generation of Code ('Code Injection')

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.

JSON object

Loading...

CVEs (7,057)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Pugjs
2Pug
Pug Code Gen
Jun 17, 2026
Mar 3, 2021
N/A· v4
9.0 CRITICAL· v3
6.8 MEDIUM· v2
Pug is an npm package which is a high-performance template engine. In pug before version 3.0.1, if a remote attacker was able to control the `pretty` option of the pug compiler, e.g. if you spread a user provided object...Show more
Pug is an npm package which is a high-performance template engine. In pug before version 3.0.1, if a remote attacker was able to control the `pretty` option of the pug compiler, e.g. if you spread a user provided object such as the query parameters of a request into the pug template inputs, it was possible for them to achieve remote code execution on the node.js backend. This is fixed in version 3.0.1. This advisory applies to multiple pug packages including "pug", "pug-code-gen". pug-code-gen has a backported fix at version 2.0.3. This advisory is not exploitable if there is no way for un-trusted input to be passed to pug as the `pretty` option, e.g. if you compile templates in advance before applying user input to them, you do not need to upgrade.Show less
3Debian
FedoraprojectSaltstack
3Debian Linux
FedoraSalt
Jun 17, 2026
Feb 27, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
An issue was discovered in through SaltStack Salt before 3002.5. The jinja renderer does not protect against server side template injection attacks.
1Nagios
1Nagios Xi
Jun 17, 2026
Feb 25, 2021
N/A· v4
7.2 HIGH· v3
9.0 HIGH· v2
Nagios XI below 5.7 is affected by code injection in the /nagiosxi/admin/graphtemplates.php component. To exploit this vulnerability, someone must have an admin user account in Nagios XI's web system.
2Debian
Smarty
2Debian Linux
Smarty
Jun 17, 2026
Feb 22, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
174cms
174cms
Jun 17, 2026
Feb 17, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
In 74cms version 5.0.1, there is a remote code execution vulnerability in /Application/Admin/Controller/ConfigController.class.php and /ThinkPHP/Common/functions.php where attackers can obtain server permissions and cont...Show more
In 74cms version 5.0.1, there is a remote code execution vulnerability in /Application/Admin/Controller/ConfigController.class.php and /ThinkPHP/Common/functions.php where attackers can obtain server permissions and control the server.Show less
1Batflat
1Batflat
Jun 17, 2026
Feb 15, 2021
N/A· v4
7.2 HIGH· v3
6.5 MEDIUM· v2
Sruu.pl in Batflat 1.3.6 allows an authenticated user to perform code injection (and consequently Remote Code Execution) via the input fields of the Users tab. To exploit this, one must login to the administration panel...Show more
Sruu.pl in Batflat 1.3.6 allows an authenticated user to perform code injection (and consequently Remote Code Execution) via the input fields of the Users tab. To exploit this, one must login to the administration panel and edit an arbitrary user's data (username, displayed name, etc.). NOTE: This vulnerability only affects products that are no longer supported by the maintainerShow less
4Lodash
NetappOracle+1 more
23Active Iq Unified Manager
Banking Corporate Lending Process ManagementBanking Credit Facilities Process Management+20 more
Jun 17, 2026
Feb 15, 2021
N/A· v4
7.2 HIGH· v3
6.5 MEDIUM· v2
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
1Trendmicro
8Antivirus+ Security 2020
Antivirus+ Security 2021Internet Security 2020+5 more
Jun 17, 2026
Feb 10, 2021
N/A· v4
7.2 HIGH· v3
6.5 MEDIUM· v2
The Trend Micro Security 2020 and 2021 families of consumer products are vulnerable to a code injection vulnerability which could allow an attacker to disable the program's password protection and disable protection. An...Show more
The Trend Micro Security 2020 and 2021 families of consumer products are vulnerable to a code injection vulnerability which could allow an attacker to disable the program's password protection and disable protection. An attacker must already have administrator privileges on the machine to exploit this vulnerability.Show less
1Inoideas
1Inoerp
Jun 17, 2026
Feb 10, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
In InoERP 0.7.2, an unauthorized attacker can execute arbitrary code on the server side due to lack of validations in /modules/sys/form_personalization/json_fp.php.
1Sap
1Commerce
Jun 17, 2026
Feb 9, 2021
N/A· v4
9.9 CRITICAL· v3
9.0 HIGH· v2
SAP Commerce Cloud, versions - 1808,1811,1905,2005,2011, enables certain users with required privileges to edit drools rules, an authenticated attacker with this privilege will be able to inject malicious code in the dro...Show more
SAP Commerce Cloud, versions - 1808,1811,1905,2005,2011, enables certain users with required privileges to edit drools rules, an authenticated attacker with this privilege will be able to inject malicious code in the drools rules which when executed leads to Remote Code Execution vulnerability enabling the attacker to compromise the underlying host enabling him to impair confidentiality, integrity and availability of the application.Show less
1Smartfoxserver
1Smartfoxserver
Jun 17, 2026
Feb 9, 2021
N/A· v4
8.8 HIGH· v3
6.0 MEDIUM· v2
An issue was discovered in SmartFoxServer 2.17.0. An attacker can execute arbitrary Python code, and bypass the javashell.py protection mechanism, by creating /config/ConsoleModuleUnlock.txt and editing /config/admin/adm...Show more
An issue was discovered in SmartFoxServer 2.17.0. An attacker can execute arbitrary Python code, and bypass the javashell.py protection mechanism, by creating /config/ConsoleModuleUnlock.txt and editing /config/admin/admintool.xml to enable the Console module.Show less
1Carrierwave Project
1Carrierwave
Jun 17, 2026
Feb 8, 2021
N/A· v4
8.8 HIGH· v3
7.5 HIGH· v2
CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1, there is a code injection vulnerability. The "#manipu...Show more
CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1, there is a code injection vulnerability. The "#manipulate!" method inappropriately evals the content of mutation option(:read/:write), allowing attackers to craft a string that can be executed as a Ruby code. If an application developer supplies untrusted inputs to the option, it will lead to remote code execution(RCE). This is fixed in versions 1.3.2 and 2.1.1.Show less
1Jetbrains
1Youtrack
Jun 17, 2026
Feb 3, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
In JetBrains YouTrack before 2020.5.3123, server-side template injection (SSTI) was possible, which could lead to code execution.
1Peerigon
1Angular Expressions
Jun 17, 2026
Feb 1, 2021
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
angular-expressions is "angular's nicest part extracted as a standalone module for the browser and node". In angular-expressions before version 1.1.2 there is a vulnerability which allows Remote Code Execution if you cal...Show more
angular-expressions is "angular's nicest part extracted as a standalone module for the browser and node". In angular-expressions before version 1.1.2 there is a vulnerability which allows Remote Code Execution if you call "expressions.compile(userControlledInput)" where "userControlledInput" is text that comes from user input. The security of the package could be bypassed by using a more complex payload, using a ".constructor.constructor" technique. In terms of impact: If running angular-expressions in the browser, an attacker could run any browser script when the application code calls expressions.compile(userControlledInput). If running angular-expressions on the server, an attacker could run any Javascript expression, thus gaining Remote Code Execution. This is fixed in version 1.1.2 of angular-expressions A temporary workaround might be either to disable user-controlled input that will be fed into angular-expressions in your application or allow only following characters in the userControlledInput.Show less
1Opensolution
2Quick.cart
Quick.cms
Jun 17, 2026
Jan 28, 2021
N/A· v4
7.2 HIGH· v3
6.5 MEDIUM· v2
OpenSolution Quick.CMS < 6.7 and Quick.Cart < 6.7 allow an authenticated user to perform code injection (and consequently Remote Code Execution) via the input fields of the Language tab.
1Moodle
1Moodle
Jun 17, 2026
Jan 28, 2021
N/A· v4
7.2 HIGH· v3
6.5 MEDIUM· v2
It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication.
1Onedev Project
1Onedev
Jun 17, 2026
Jan 15, 2021
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability involving the build endpoint parameters. InputSpec is used to define parameters of a Build spec. It does so by us...Show more
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability involving the build endpoint parameters. InputSpec is used to define parameters of a Build spec. It does so by using dynamically generated Groovy classes. A user able to control job parameters can run arbitrary code on OneDev's server by injecting arbitrary Groovy code. The ultimate result is in the injection of a static constructor that will run arbitrary code. For a full example refer to the referenced GHSA. This issue was addressed in 4.0.3 by escaping special characters such as quote from user input.Show less
1Onedev Project
1Onedev
Jun 17, 2026
Jan 15, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, There is a vulnerability that enabled pre-auth server side template injection via Bean validation message tampering. Full details in the reference...Show more
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, There is a vulnerability that enabled pre-auth server side template injection via Bean validation message tampering. Full details in the reference GHSA. This issue was fixed in 4.0.3 by disabling validation interpolation completely.Show less
1Sap
2Business Warehouse
Bw/4hana
Jun 17, 2026
Jan 12, 2021
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
SAP Business Warehouse, versions 700, 701, 702, 711, 730, 731, 740, 750, 782 and SAP BW/4HANA, versions 100, 200, allow a low privileged attacker to inject code using a remote enabled function module over the network. Vi...Show more
SAP Business Warehouse, versions 700, 701, 702, 711, 730, 731, 740, 750, 782 and SAP BW/4HANA, versions 100, 200, allow a low privileged attacker to inject code using a remote enabled function module over the network. Via the function module an attacker can create a malicious ABAP report which could be used to get access to sensitive data, to inject malicious UPDATE statements that could have also impact on the operating system, to disrupt the functionality of the SAP system which can thereby lead to a Denial of Service.Show less
1Agentejo
1Cockpit
Jun 17, 2026
Jan 8, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
Cockpit before 0.6.1 allows an attacker to inject custom PHP code and achieve Remote Command Execution via registerCriteriaFunction in lib/MongoLite/Database.php, as demonstrated by values in JSON data to the /auth/check...Show more
Cockpit before 0.6.1 allows an attacker to inject custom PHP code and achieve Remote Command Execution via registerCriteriaFunction in lib/MongoLite/Database.php, as demonstrated by values in JSON data to the /auth/check or /auth/requestreset URI.Show less