CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 8
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
- 9.8CVE-2022-33880hospital management system mini-project project hospital management system mini-projectEPSS 0.8%
hms-staff.php in Projectworlds Hospital Management System Mini-Project through 2018-06-17 allows SQL injection via the type parameter.
- 9.8CVE-2022-40887best student result management system project best student result management systemEPSS 1.2%
SourceCodester Best Student Result Management System 1.0 is vulnerable to SQL Injection.
- 8.8CVE-2021-45788metersphereEPSS 3.1%
Time-based SQL Injection vulnerabilities were found in Metersphere v1.15.4 via the "orders" parameter.
- 9.8CVE-2020-35674bigprof online invoicing systemEPSS 1.2%
BigProf Online Invoicing System before 2.9 suffers from an unauthenticated SQL Injection found in /membership_passwordReset.php (the endpoint that is responsible for issuing self-service password resets). An unauthenticated attacker is abl…
- 5.3CVE-2020-15333zyxel cloudcnm secumanagerEPSS 1.0%
Zyxel CloudCNM SecuManager 3.1.0 and 3.1.1 allows attackers to discover accounts via MySQL "select * from Administrator_users" and "select * from Users_users" requests.
- 2.7CVE-2022-28815gavazziautomationEPSS 0.5%
In Carlo Gavazzi UWP3.0 in multiple versions and CPY Car Park Server in Version 2.8.3 the Sentilo Proxy server was discovered to contain a SQL injection vulnerability allowing an attacker to query other tables of the Sentilo service.
- 7.5CVE-2022-28813gavazziautomationEPSS 1.1%
In Carlo Gavazzi UWP3.0 in multiple versions and CPY Car Park Server in Version 2.8.3 a remote, unauthenticated attacker could make use of an SQL-injection to gain access to a volatile temporary database with the current states of the devi…
- 9.4CVE-2022-22524gavazziautomationEPSS 1.3%
In Carlo Gavazzi UWP3.0 in multiple versions and CPY Car Park Server in Version 2.8.3 an unauthenticated remote attacker could utilize a SQL-Injection vulnerability to gain full database access, modify users and stop services .
- 9.8CVE-2022-41570eyesofnetworkEPSS 0.8%
An issue was discovered in EyesOfNetwork (EON) through 5.3.11. Unauthenticated SQL injection can occur.
- 9.8CVE-2022-40877exam reviewer management system project exam reviewer management systemEPSS 1.3%
Exam Reviewer Management System 1.0 is vulnerable to SQL Injection via the ‘id’ parameter.
- 7.2CVE-2022-40354online tours \& travels management system project online tours \& travels management systemEPSS 1.0%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_booking.php.
- 7.2CVE-2022-40353online tours \& travels management system project online tours \& travels management systemEPSS 1.0%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/up_booking.php.
- 7.2CVE-2022-40352online tours \& travels management system project online tours \& travels management systemEPSS 0.9%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_traveller.php.
- 7.5CVE-2022-3323advantech iviewEPSS 30%
An SQL injection vulnerability in Advantech iView 5.7.04.6469. The specific flaw exists within the ConfigurationServlet endpoint, which listens on TCP port 8080 by default. An unauthenticated remote attacker can craft a special column_valu…
- 8.8CVE-2022-37209jflyfox jfinal cmsEPSS 1.6%
JFinal CMS 5.1.0 is affected by: SQL Injection. These interfaces do not use the same component, nor do they have filters, but each uses its own SQL concatenation method, resulting in SQL injection.
- 8.8CVE-2022-31367strapiEPSS 1.8%
Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.
- 9.8CVE-2021-41433resumes management and job application website application project resumes management and job application website applicationEPSS 1.2%
SQL Injection vulnerability exists in version 1.0 of the Resumes Management and Job Application Website application login form by EGavilan Media that allows authentication bypass through login.php.
- 7.2CVE-2022-40099online tours \& travels management system project online tours \& travels management systemEPSS 1.0%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_expense_category.php.
- 7.2CVE-2022-40098online tours \& travels management system project online tours \& travels management systemEPSS 1.0%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_expense.php.
- 7.2CVE-2022-40097online tours and travels management system project online tours and travels management systemEPSS 1.2%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_currency.php.
- 9.8CVE-2022-30004online market place site project online market place siteEPSS 2.1%
Sourcecodester Online Market Place Site v1.0 suffers from an unauthenticated blind SQL Injection Vulnerability allowing remote attackers to dump the SQL database via time-based SQL injection..
- 8.8CVE-2022-40043centreonEPSS 1.4%
Centreon v20.10.18 was discovered to contain a SQL injection vulnerability via the esc_name (Escalation Name) parameter at Configuration/Notifications/Escalations.
- 9.8CVE-2022-40485wedding planner project wedding plannerEPSS 1.2%
Wedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /package_detail.php.
- 9.8CVE-2022-40484wedding planner project wedding plannerEPSS 1.2%
Wedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the booking parameter at /admin/client_edit.php.
- 9.8CVE-2022-40483wedding planner project wedding plannerEPSS 1.2%
Wedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /wedding_details.php.
- 7.2CVE-2022-40928online leave management system project online leave management systemEPSS 1.0%
Online Leave Management System v1.0 is vulnerable to SQL Injection via /leave_system/classes/Master.php?f=delete_application.
- 7.2CVE-2022-40927online leave management system project online leave management systemEPSS 1.0%
Online Leave Management System v1.0 is vulnerable to SQL Injection via /leave_system/classes/Master.php?f=delete_designation.
- 7.2CVE-2022-40926online leave management system project online leave management systemEPSS 1.0%
Online Leave Management System v1.0 is vulnerable to SQL Injection via /leave_system/classes/Master.php?f=delete_leave_type.
- 8.8CVE-2022-40404wedding planner project wedding plannerEPSS 1.0%
Wedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/select.php.
- 7.2CVE-2022-40403wedding planner project wedding plannerEPSS 1.0%
Wedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/feature_edit.php.
- 8.8CVE-2022-40402wedding planner project wedding plannerEPSS 1.0%
Wedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the booking parameter at /admin/client_assign.php.
- 9.8CVE-2022-40122online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the cust_id parameter at /net-banking/edit_customer_action.php.
- 9.8CVE-2022-40121online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the search parameter at /net-banking/manage_customers.php.
- 9.8CVE-2022-40120online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the search_term parameter at /net-banking/customer_transactions.php.
- 9.8CVE-2022-40119online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the search_term parameter at /net-banking/transactions.php.
- 9.8CVE-2022-40118online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the cust_id parameter at /net-banking/send_funds_action.php.
- 9.8CVE-2022-40117online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the cust_id parameter at /net-banking/delete_customer.php.
- 9.8CVE-2022-40116online banking system project online banking systemEPSS 1.2%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the search parameter at /net-banking/beneficiary.php.
- 9.8CVE-2022-40115online banking system project online banking systemEPSS 1.2%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the cust_id parameter at /net-banking/delete_beneficiary.php.
- 9.8CVE-2022-40114online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the cust_id parameter at /net-banking/edit_customer.php.
- 9.8CVE-2022-40113online banking system project online banking systemEPSS 1.0%
Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the cust_id parameter at /net-banking/send_funds.php.
- 8.8CVE-2022-32211rocket.chatEPSS 1.5%
A SQL injection vulnerability exists in Rocket.Chat <v3.18.6, <v4.4.4 and <v4.7.3 which can allow an attacker to retrieve a reset password token through or a 2fa secret.
- 7.2CVE-2022-40093online tours and travels management system project online tours and travels management systemEPSS 1.1%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /tour/admin/update_tax.php.
- 7.2CVE-2022-40092online tours and travels management system project online tours and travels management systemEPSS 1.1%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /tour/admin/update_payment.php.
- 7.2CVE-2022-40091online tours and travels management system project online tours and travels management systemEPSS 1.1%
Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /tour/admin/update_packages.php.
- 7.2CVE-2022-40935online pet shop web application project online pet shop web applicationEPSS 1.0%
Online Pet Shop We App v1.0 is vulnerable to SQL Injection via /pet_shop/classes/Master.php?f=delete_category,id.
- 7.2CVE-2022-40934online pet shop web application project online pet shop web applicationEPSS 1.0%
Online Pet Shop We App v1.0 is vulnerable to SQL injection via /pet_shop/classes/Master.php?f=delete_sub_category,id
- 7.2CVE-2022-40933online pet shop web application project online pet shop web applicationEPSS 1.1%
Online Pet Shop We App v1.0 by oretnom23 is vulnerable to SQL injection via /pet_shop/classes/Master.php?f=delete_order,id.
- 7.2CVE-2022-40447zzcmsEPSS 1.0%
ZZCMS 2022 was discovered to contain a SQL injection vulnerability via the keyword parameter at /admin/baojia_list.php.
- 7.2CVE-2022-40446zzcmsEPSS 0.9%
ZZCMS 2022 was discovered to contain a SQL injection vulnerability via the component /admin/sendmailto.php?tomail=&groupid=.