CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 4
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-2022-43163online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /clients/view_client.php.
- 7.2CVE-2022-43162online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /tests/view_test.php.
- 7.2CVE-2022-44403automotive shop management system project automotive shop management systemEPSS 0.9%
Automotive Shop Management System v1.0 is vulnerable to SQL Injection via /asms/admin/?page=user/manage_user&id=.
- 7.2CVE-2022-44402automotive shop management system project automotive shop management systemEPSS 0.9%
Automotive Shop Management System v1.0 is vulnerable to SQL Injection via /asms/classes/Master.php?f=delete_transaction.
- 7.2CVE-2022-4052student attendance management system project student attendance management systemEPSS 0.7%
A vulnerability was found in Student Attendance Management System and classified as critical. This issue affects some unknown processing of the file /Admin/createClass.php. The manipulation of the argument Id leads to sql injection. The at…
- 9.8CVE-2022-4051hostel searching projectEPSS 0.7%
A vulnerability has been found in Hostel Searching Project and classified as critical. This vulnerability affects unknown code of the file view-property.php. The manipulation of the argument property_id leads to sql injection. The attack c…
- 9.8CVE-2022-42245dreamer cms project dreamer cmsEPSS 0.9%
Dreamer CMS 4.0.01 is vulnerable to SQL Injection.
- 8.8CVE-2021-38819simple image gallery web app project simple image gallery web appEPSS 1.2%
A SQL injection vulnerability exits on the Simple Image Gallery System 1.0 application through "id" parameter on the album page.
- 9.8CVE-2022-44003backclickEPSS 1.9%
An issue was discovered in BACKCLICK Professional 5.9.63. Due to insufficient escaping of user-supplied input, the application is vulnerable to SQL injection at various locations.
- 9.8CVE-2022-43135online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter at /diagnostic/login.php.
- 9.8CVE-2022-43262oretnom23 human resource management systemEPSS 0.9%
Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the password parameter at /hrm/controller/login.php.
- 9.8CVE-2022-43256seacmsEPSS 1.0%
SeaCms before v12.6 was discovered to contain a SQL injection vulnerability via the component /js/player/dmplayer/dmku/index.php.
- 9.8CVE-2022-4015sports club management system project sports club management systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in Sports Club Management System 119. This affects an unknown part of the file admin/make_payments.php. The manipulation of the argument m_id/plan leads to sql injection. It is p…
- 9.8CVE-2022-4012hospital management center project hospital management centerEPSS 0.6%
A vulnerability classified as critical has been found in Hospital Management Center. Affected is an unknown function of the file patient-info.php. The manipulation of the argument pt_id leads to sql injection. It is possible to launch the …
- 7.2CVE-2022-43279limesurveyEPSS 1.0%
LimeSurvey before v5.0.4 was discovered to contain a SQL injection vulnerability via the component /application/views/themeOptions/update.php.
- 8.8CVE-2020-12507badgermeter moni\EPSS 0.8%
In s::can moni::tools before version 4.2 an authenticated attacker could get full access to the database through SQL injection. This may result in loss of confidentiality, loss of integrity and DoS.
- 9.8CVE-2022-42122liferayEPSS 0.9%
A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attackers to execute arbitrary SQL commands via a crafted payload injected into the `title` field of a…
- 8.8CVE-2022-42121liferayEPSS 1.2%
A SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through 7.4.3.4, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA allows remote authenticated attackers to exec…
- 9.8CVE-2022-42120liferayEPSS 0.9%
A SQL injection vulnerability in the Fragment module in Liferay Portal 7.3.3 through 7.4.3.16, and Liferay DXP 7.3 before update 4, and 7.4 before update 17 allows attackers to execute arbitrary SQL commands via a PortletPreferences' `name…
- 9.8CVE-2022-42984wowonderEPSS 0.9%
WoWonder Social Network Platform 4.1.4 was discovered to contain a SQL injection vulnerability via the offset parameter at requests.php?f=search&s=recipients.
- 7.5CVE-2022-40405wowonderEPSS 0.8%
WoWonder Social Network Platform v4.1.2 was discovered to contain a SQL injection vulnerability via the offset parameter at requests.php?f=load-my-blogs.
- 8.8CVE-2022-43288rukovoditelEPSS 1.0%
Rukovoditel v3.2.1 was discovered to contain a SQL injection vulnerability via the order_by parameter at /rukovoditel/index.php?module=logs/view&type=php.
- 9.8CVE-2022-43672zohocorpEPSS 68%
Zoho ManageEngine Password Manager Pro before 12122, PAM360 before 5711, and Access Manager Plus before 4306 allow SQL Injection (in a different software component relative to CVE-2022-43671.
- 9.8CVE-2022-43671zohocorpEPSS 75%
Zoho ManageEngine Password Manager Pro before 12122, PAM360 before 5711, and Access Manager Plus before 4306 allow SQL Injection.
- 9.8CVE-2022-3956hhims project hhimsEPSS 0.9%
A vulnerability classified as critical has been found in tsruban HHIMS 2.1. Affected is an unknown function of the component Patient Portrait Handler. The manipulation of the argument PID leads to sql injection. It is possible to launch th…
- 9.8CVE-2022-3955crm42 project crm42EPSS 0.9%
A vulnerability was found in tholum crm42. It has been rated as critical. This issue affects some unknown processing of the file crm42\class\class.user.php of the component Login. The manipulation of the argument user_name leads to sql inj…
- 9.8CVE-2022-3948eolink goku liteEPSS 0.9%
A vulnerability classified as critical was found in eolinker goku_lite. This vulnerability affects unknown code of the file /plugin/getList. The manipulation of the argument route/keyword leads to sql injection. The attack can be initiated…
- 9.8CVE-2022-3947eolink goku liteEPSS 1.0%
A vulnerability classified as critical has been found in eolinker goku_lite. This affects an unknown part of the file /balance/service/list. The manipulation of the argument route/keyword leads to sql injection. It is possible to initiate …
- 9.8CVE-2022-41892archesproject archesEPSS 0.7%
Arches is a web platform for creating, managing, & visualizing geospatial data. Versions prior to 6.1.2, 6.2.1, and 7.1.2 are vulnerable to SQL Injection. With a carefully crafted web request, it's possible to execute certain unwanted sql …
- 9.1CVE-2022-44727lineagrafica eu cookie law gdprEPSS 3.2%
The EU Cookie Law GDPR (Banner + Blocker) module before 2.1.3 for PrestaShop allows SQL Injection via a cookie ( lgcookieslaw or __lglaw ).
- 9.8CVE-2022-43058online diagnostic lab management system project online diagnostic lab management systemEPSS 0.8%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /odlms//classes/Master.php?f=delete_activity.
- 7.2CVE-2022-43278canteen management system project canteen management systemEPSS 0.9%
Canteen Management System v1.0 was discovered to contain a SQL injection vulnerability via the categoriesId parameter at /php_action/fetchSelectedCategories.php.
- 7.2CVE-2022-43292canteen management system project canteen management systemEPSS 0.9%
Canteen Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /youthappam/editfood.php.
- 7.2CVE-2022-43291canteen management system project canteen management systemEPSS 0.9%
Canteen Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /youthappam/editclient.php.
- 7.2CVE-2022-43290canteen management system project canteen management systemEPSS 0.9%
Canteen Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /youthappam/editcategory.php.
- 6.5CVE-2022-41259sap sql anywhereEPSS 0.9%
SAP SQL Anywhere - version 17.0, allows an authenticated attacker to prevent legitimate users from accessing a SQL Anywhere database server by crashing the server with some queries that use an ARRAY constructor.
- 5.3CVE-2022-39069zte zaip-aieEPSS 0.5%
There is a SQL injection vulnerability in ZTE ZAIP-AIE. Due to lack of input verification by the server, an attacker could trigger an attack by building malicious requests. Exploitation of this vulnerability could cause the leakage of the …
- 7.2CVE-2022-43049canteen management system project canteen management systemEPSS 0.9%
Canteen Management System Project v1.0 was discovered to contain a SQL injection vulnerability via the component /youthappam/add-food.php.
- 7.2CVE-2022-43052online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /odlms/classes/Users.php?f=delete.
- 7.2CVE-2022-43051online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /odlms/classes/Users.php?f=delete_test.
- 7.2CVE-2022-42990oretnom23 food ordering management systemEPSS 1.0%
Food Ordering Management System v1.0 was discovered to contain a SQL injection vulnerability via the component /foms/all-orders.php?status=Cancelled%20by%20Customer.
- 9.8CVE-2022-3878maxonerp maxonEPSS 0.8%
A vulnerability classified as critical has been found in Maxon ERP. This affects an unknown part of the file /index.php/purchase_order/browse_data. The manipulation of the argument tb_search leads to sql injection. It is possible to initia…
- 7.2CVE-2022-43352sanitization management system project sanitization management systemEPSS 1.0%
Sanitization Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /php-sms/classes/Master.php?f=delete_quote.
- 7.2CVE-2022-43350sanitization management system project sanitization management systemEPSS 1.0%
Sanitization Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /php-sms/classes/Master.php?f=delete_inquiry.
- 8.8CVE-2022-43318oretnom23 human resource management systemEPSS 1.0%
Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the stateedit parameter at /hrm/state.php.
- 8.8CVE-2022-3494really-simple-plugins complianzEPSS 1.6%
The Complianz WordPress plugin before 6.3.4, and Complianz Premium WordPress plugin before 6.3.6 allow a translators to inject arbitrary SQL through an unsanitized translation. SQL can be injected through an infected translation file, or b…
- 9.8CVE-2022-3481opmc woocommerce dropshippingEPSS 5.3%
The WooCommerce Dropshipping WordPress plugin before 4.4 does not properly sanitise and escape a parameter before using it in a SQL statement via a REST endpoint available to unauthenticated users, leading to a SQL injection
- 6.5CVE-2022-20867cisco asyncosEPSS 0.9%
A vulnerability in web-based management interface of the of Cisco Email Security Appliance and Cisco Secure Email and Web Manager could allow an authenticated, remote attacker to conduct SQL injection attacks as root on an affected system.…
- 7.8CVE-2022-41671schneider-electricEPSS 0.3%
A CWE-89: Improper Neutralization of Special Elements used in SQL Command (‘SQL Injection’) vulnerability exists that allows adversaries with local user privileges to craft a malicious SQL query and execute as part of project migration whi…
- 7.2CVE-2022-43063online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Users.php?f=delete_client.