CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2023, page 18
Filter
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
What the weakness is: CWE-89 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses
Related attack patterns (CAPEC): 6
- CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
- CAPEC-66 SQL Injection Likelihood: High · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
- CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
- CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
- CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High
The attack patterns MITRE's CAPEC relates to CWE-89, as MITRE names them. Credits.
Ask an AI about CWE-89
Show the prompt
Explain CWE-89: Improper Neutralization of Special Elements used in an SQL Command and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/89.html and https://cve.bz/cve/cwe/89?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
- 7.2CVE-2023-37687phpgurukul online nurse hiring systemEPSS 1.0%
Online Nurse Hiring System v1.0 was discovered to contain a cross-site scripting (XSS) vulnerability in the View Request of Nurse Page in the Admin portal.
- 9.8CVE-2023-37682judging management system project judging management systemEPSS 0.7%
Judging Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /php-jms/deductScores.php.
- 9.8CVE-2023-3717farmakom remote administration consoleEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Farmakom Remote Administration Console allows SQL Injection. This issue affects Remote Administration Console: before 1.02.
- 9.8CVE-2023-37372siemens ruggedcom crossbowEPSS 0.9%
A vulnerability has been identified in RUGGEDCOM CROSSBOW (All versions < V5.4). The affected applications is vulnerable to SQL injection. This could allow an unauthenticated remote attackers to execute arbitrary SQL queries on the server …
- 8.8CVE-2023-27411siemens ruggedcom crossbowEPSS 0.8%
A vulnerability has been identified in RUGGEDCOM CROSSBOW (All versions < V5.4). The affected applications is vulnerable to SQL injection. This could allow an authenticated remote attackers to execute arbitrary SQL queries on the server da…
- 9.8CVE-2023-3898mayanets e-commerceEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in mAyaNet E-Commerce Software allows SQL Injection. This issue affects E-Commerce Software: before 1.1.
- 7.5CVE-2023-33993sap business oneEPSS 0.6%
B1i module of SAP Business One - version 10.0, application allows an authenticated user with deep knowledge to send crafted queries over the network to read or modify the SQL data. On successful exploitation, the attacker can cause high im…
- 9.8CVE-2023-39526prestashopEPSS 1.7%
PrestaShop is an open source e-commerce web application. Versions prior to 1.7.8.10, 8.0.5, and 8.1.1 are vulnerable to remote code execution through SQL injection and arbitrary file write in the back office. Versions 1.7.8.10, 8.0.5, and …
- 9.8CVE-2023-4201mayurik inventory management systemEPSS 0.7%
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical. This issue affects some unknown processing of the file ex_catagory_data.php. The manipulation of the argument columns[1][data] leads to…
- 9.8CVE-2023-39524prestashopEPSS 0.7%
PrestaShop is an open source e-commerce web application. Prior to version 8.1.1, SQL injection possible in the product search field, in BO's product page. Version 8.1.1 contains a patch for this issue. There are no known workarounds.
- 9.8CVE-2023-4200mayurik inventory management systemEPSS 0.7%
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file product_data.php.. The manipulation of the argument columns[1][data] leads to …
- 7.5CVE-2023-4199mayurik inventory management systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. This affects an unknown part of the file catagory_data.php. The manipulation of the argument columns[1][data] leads to sql inje…
- 9.8CVE-2023-38044hikashopEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability allows SQL Injection.
- 9.8CVE-2023-34477braincert virtual classroomEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability allows SQL Injection.
- 9.8CVE-2023-34476mooj proformsEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability allows SQL Injection.
- 9.8CVE-2023-23758creative-solutions creative galleryEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability allows SQL Injection.
- 9.8CVE-2023-23757bestaddon galleryEPSS 0.6%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability allows SQL Injection.
- 9.8CVE-2023-4193resort reservation system project resort reservation systemEPSS 0.7%
A vulnerability has been found in SourceCodester Resort Reservation System 1.0 and classified as critical. This vulnerability affects unknown code of the file view_fee.php. The manipulation of the argument id leads to sql injection. The at…
- 9.8CVE-2023-4192resort reservation system project resort reservation systemEPSS 0.7%
A vulnerability, which was classified as critical, was found in SourceCodester Resort Reservation System 1.0. This affects an unknown part of the file manage_user.php. The manipulation of the argument id leads to sql injection. It is possi…
- 9.8CVE-2023-4185mayurik online hospital management systemEPSS 0.7%
A vulnerability was found in SourceCodester Online Hospital Management System 1.0. It has been classified as critical. Affected is an unknown function of the file patientlogin.php. The manipulation of the argument loginid/password leads to…
- 9.8CVE-2023-4184inventory management system project inventory management systemEPSS 0.6%
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical. This issue affects some unknown processing of the file sell_return.php. The manipulation of the argument pid leads to sql injection. Th…
- 9.8CVE-2023-4182inventory management system project inventory management systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. This affects an unknown part of the file edit_sell.php. The manipulation of the argument up_pid leads to sql injection. It is p…
- 9.8CVE-2023-4180mayurik free hospital management system for small practicesEPSS 0.9%
A vulnerability classified as critical was found in SourceCodester Free Hospital Management System for Small Practices 1.0. Affected by this vulnerability is an unknown functionality of the file /vm/login.php. The manipulation of the argum…
- 9.8CVE-2023-4179mayurik free hospital management system for small practicesEPSS 0.8%
A vulnerability classified as critical has been found in SourceCodester Free Hospital Management System for Small Practices 1.0. Affected is an unknown function of the file /vm/doctor/doctors.php?action=view. The manipulation of the argume…
- 9.8CVE-2023-4176hospital management system project hospital management systemEPSS 0.8%
A vulnerability was found in SourceCodester Hospital Management System 1.0. It has been classified as critical. This affects an unknown part of the file appointmentapproval.php. The manipulation of the argument time leads to sql injection.…
- 9.1CVE-2023-4188instantcmsEPSS 0.9%
SQL Injection in GitHub repository instantsoft/icms2 prior to 2.16.1-git.
- 9.8CVE-2023-4166tongda2000 tongda office anywhereEPSS 12%
A vulnerability has been found in Tongda OA and classified as critical. This vulnerability affects unknown code of the file general/system/seal_manage/dianju/delete_log.php. The manipulation of the argument DELETE_STR leads to sql injectio…
- 9.8CVE-2023-4165tongda2000 tongda office anywhereEPSS 12%
A vulnerability, which was classified as critical, was found in Tongda OA. This affects an unknown part of the file general/system/seal_manage/iweboffice/delete_seal.php. The manipulation of the argument DELETE_STR leads to sql injection. …
- 9.8CVE-2023-33367assaabloy control id idsecureEPSS 1.1%
A SQL injection vulnerability exists in Control ID IDSecure 4.7.26.0 and prior, allowing unauthenticated attackers to write PHP files on the server's root directory, resulting in remote code execution.
- 8.8CVE-2023-39344fobybus social-media-skeletonEPSS 1.5%
social-media-skeleton is an uncompleted social media project. A SQL injection vulnerability in the project allows UNION based injections, which indirectly leads to remote code execution. Commit 3cabdd35c3d874608883c9eaf9bf69b2014d25c1 cont…
- 9.8CVE-2023-39551phpgurukul online security guards hiring systemEPSS 1.4%
PHPGurukul Online Security Guards Hiring System v.1.0 is vulnerable to SQL Injection via osghs/admin/search.php.
- 9.8CVE-2023-33665ai-dev ai-tableEPSS 0.6%
ai-dev aitable before v0.2.2 was discovered to contain a SQL injection vulnerability via the component /includes/ajax.php.
- 7.2CVE-2023-39121emlogEPSS 2.5%
emlog v2.1.9 was discovered to contain a SQL injection vulnerability via the component /admin/user.php.
- 9.8CVE-2023-33666ai-dev aioptimizedcombinationsEPSS 0.6%
ai-dev aioptimizedcombinations before v0.1.3 was discovered to contain a SQL injection vulnerability via the component /includes/ajax.php.
- 9.8CVE-2023-36213motocmsEPSS 1.4%
SQL injection vulnerability in MotoCMS v.3.4.3 allows a remote attacker to gain privileges via the keyword parameter of the search function.
- 8.8CVE-2023-33366supremainc biostar 2EPSS 0.6%
A SQL injection vulnerability exists in Suprema BioStar 2 before 2.9.1, which allows authenticated users to inject arbitrary SQL directives into an SQL statement and execute arbitrary SQL commands.
- 8.8CVE-2023-21412axis license plate verifierEPSS 0.6%
User provided input is not sanitized on the AXIS License Plate Verifier specific “search.cgi” allowing for SQL injections.
- 9.8CVE-2023-38954zkteco bioaccess ivsEPSS 0.6%
ZKTeco BioAccess IVS v3.3.1 was discovered to contain a SQL injection vulnerability.
- 9.8CVE-2023-26443open-xchange appsuite backendEPSS 0.8%
Full-text autocomplete search allows user-provided SQL syntax to be injected to SQL statements. With existing sanitization in place, this can be abused to trigger benign SQL Exceptions but could potentially be escalated to a malicious SQL …
- 7.8CVE-2023-26440open-xchange appsuite officeEPSS 0.4%
The cacheservice API could be abused to indirectly inject parameters with SQL syntax which was insufficiently sanitized and would later be executed when creating new cache groups. Attackers with access to a local or restricted network coul…
- 7.8CVE-2023-26439open-xchange appsuite officeEPSS 0.4%
The cacheservice API could be abused to inject parameters with SQL syntax which was insufficiently sanitized before getting executed as SQL statement. Attackers with access to a local or restricted network were able to perform arbitrary SQ…
- 8.8CVE-2023-37772phpgurukul online shopping portalEPSS 1.1%
Online Shopping Portal Project v3.1 was discovered to contain a SQL injection vulnerability via the Email parameter at /shopping/login.php.
- 9.8CVE-2023-39122bmc control-mEPSS 0.7%
BMC Control-M through 9.0.20.200 allows SQL injection via the /RF-Server/report/deleteReport report-id parameter. This is fixed in 9.0.21 (and is also fixed by a patch for 9.0.20.200).
- 8.8CVE-2023-3983advantech iviewEPSS 17%
An authenticated SQL injection vulnerability exists in Advantech iView versions prior to v5.7.4 build 6752. An authenticated remote attacker can bypass checks in com.imc.iview.utils.CUtils.checkSQLInjection() to perform blind SQL injection.
- 9.8CVE-2023-37771phpgurukul art gallery management systemEPSS 1.5%
Art Gallery Management System v1.0 contains a SQL injection vulnerability via the cid parameter at /agms/product.php.
- 9.8CVE-2023-34635wifi-soft unibox administrationExploitEPSS 3.5%
Wifi Soft Unibox Administration 3.0 and 3.1 is vulnerable to SQL Injection. The vulnerability occurs because of not validating or sanitizing the user input in the username field of the login page.
- 9.8CVE-2020-21662yunyecmsEPSS 0.8%
SQL injection vulnerability in yunyecms 2.0.2 allows remote attackers to run arbitrary SQL commands via XFF.
- 9.8CVE-2023-37647sem-cms semcmsEPSS 0.6%
SEMCMS v1.5 was discovered to contain a SQL injection vulnerability via the id parameter at /Ant_Suxin.php.
- 9.8CVE-2023-38992jeecg bootEPSS 73%
jeecg-boot v3.5.1 was discovered to contain a SQL injection vulnerability via the title parameter at /sys/dict/loadTreeData.
- 7.2CVE-2023-31937phpgurukul rail pass management systemEPSS 1.1%
Sql injection vulnerability found in Rail Pass Management System v.1.0 allows a remote attacker to execute arbitrary code via the editid parameter of the edit-cateogry-detail.php file.