CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 21
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-31971chatbot app with suggestion project chatbot app with suggestionEPSS 1.0%
ChatBot App with Suggestion v1.0 is vulnerable to SQL Injection via /simple_chat_bot/admin/?page=responses/view_response&id=.
- 7.2CVE-2022-31970chatbot app with suggestion project chatbot app with suggestionEPSS 1.1%
ChatBot App with Suggestion v1.0 is vulnerable to SQL Injection via /simple_chat_bot/admin/?page=responses/manage_response&id=.
- 9.8CVE-2022-31969chatbot app with suggestion project chatbot app with suggestionEPSS 1.2%
ChatBot App with Suggestion v1.0 is vulnerable to SQL Injection via /simple_chat_bot/admin/?page=user/manage_user&id=.
- 9.8CVE-2022-31965rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/admin/respondent_types/manage_respondent_type.php?id=.
- 9.8CVE-2022-31964rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via rdms/admin/respondent_types/view_respondent_type.php?id=.
- 9.8CVE-2022-31962rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/admin/incidents/view_incident.php?id=.
- 9.8CVE-2022-31961rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/admin/incidents/manage_incident.php?id=.
- 9.8CVE-2022-31959rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/admin/teams/manage_team.php?id=.
- 9.8CVE-2022-31957rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via rdms/admin/teams/view_team.php?id=.
- 9.8CVE-2022-31956rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/admin/incident_reports/manage_report.php?id=.
- 9.8CVE-2022-31953rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/admin/incident_reports/view_report.php?id=.
- 9.8CVE-2022-31952rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL injection via /rdms/classes/Master.php?f=delete_incident.
- 9.8CVE-2022-31951rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/classes/Master.php?f=delete_respondent_type.
- 9.8CVE-2022-31948rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/classes/Master.php?f=delete_report.
- 9.8CVE-2022-31946rescue dispatch management system project rescue dispatch management systemEPSS 1.2%
Rescue Dispatch Management System v1.0 is vulnerable to SQL Injection via /rdms/classes/Master.php?f=delete_team.
- 9.8CVE-2022-31354oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/classes/Master.php?f=get_vehicle_service.
- 9.8CVE-2022-31353oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/admin/services/view_service.php?id=.
- 9.8CVE-2022-31352oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 by oretnom23 has SQL injection in /ocwbs/admin/services/manage_service.php?id=.
- 9.8CVE-2022-31351oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 by oretnom23 has SQL injection via /ocwbs/admin/services/manage_price.php?id=.
- 9.8CVE-2022-31350oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/admin/vehicles/manage_vehicle.php?id=.
- 9.8CVE-2022-31348oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/admin/bookings/update_status.php?id=.
- 9.8CVE-2022-31347oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/classes/Master.php?f=delete_vehicle.
- 9.8CVE-2022-31346oretnom23 online car wash booking systemEPSS 1.2%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/classes/Master.php?f=delete_service.
- 9.8CVE-2022-31345oretnom23 online car wash booking systemEPSS 1.1%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/admin/?page=user/manage_user&id=.
- 9.8CVE-2022-31344oretnom23 online car wash booking systemEPSS 1.1%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/classes/Master.php?f=delete_booking.
- 9.8CVE-2022-31343oretnom23 online car wash booking systemEPSS 1.1%
Online Car Wash Booking System v1.0 is vulnerable to SQL Injection via /ocwbs/admin/?page=bookings/view_details&id=.
- 9.8CVE-2022-31340argie simple inventory systemEPSS 1.2%
Simple Inventory System v1.0 is vulnerable to SQL Injection via /inventory/table_edit_ajax.php.
- 7.2CVE-2022-31339argie simple inventory systemEPSS 1.0%
Simple Inventory System v1.0 is vulnerable to SQL Injection via /inventory/login.php.
- 9.8CVE-2022-31338online ordering system project online ordering systemEPSS 1.1%
Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/user/index.php?view=edit&id=.
- 9.8CVE-2022-31337online ordering system project online ordering systemEPSS 1.1%
Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/category/index.php?view=edit&id=.
- 9.8CVE-2022-31336online ordering system project online ordering systemEPSS 1.1%
Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/stockin/loaddata.php.
- 9.8CVE-2022-31335online ordering system project online ordering systemEPSS 1.1%
Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/stockin/index.php?view=edit&id=.
- 9.8CVE-2022-31329online ordering system project online ordering systemEPSS 1.1%
Online Ordering System By janobe 2.3.2 is vulnerable to SQL Injection via /ordering/admin/orders/loaddata.php.
- 9.8CVE-2022-31328online ordering system project online ordering systemEPSS 1.1%
Online Ordering System By janobe 2.3.2 has SQL Injection via /ordering/admin/products/index.php?view=edit&id=.
- 9.8CVE-2022-31327online ordering system project online ordering systemEPSS 1.2%
Online Ordering System By janobe 2.3.2 is vulneranle to SQL Injection via /ordering/index.php?q=products&id=.
- 7.2CVE-2022-30836wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection. via Wedding-Management/admin/select.php.
- 7.2CVE-2022-30835wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection. via /Wedding-Management/admin/budget.php?booking_id=.
- 7.2CVE-2022-30834wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via /Wedding-Management/admin/client_manage_account_details.php?booking_id=31&user_id=
- 7.2CVE-2022-30833wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via /Wedding-Management/admin/client_edit.php?booking=31&user_id=.
- 7.2CVE-2022-30832wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via /Wedding-Management/admin/client_assign.php?booking=31&user_id=.
- 7.2CVE-2022-30831wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via Wedding-Management/wedding_details.php.
- 7.2CVE-2022-30830wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via \admin\feature_edit.php.
- 7.2CVE-2022-30829wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via \admin\users_edit.php.
- 7.2CVE-2022-30828wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via \admin\photos_edit.php.
- 7.2CVE-2022-30827wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via \admin\package_edit.php.
- 7.2CVE-2022-30826wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via admin\client_assign.php.
- 7.2CVE-2022-30825wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via \admin\client_edit.php.
- 7.2CVE-2022-30823wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL Injection via \admin\blog_events_edit.php.
- 7.2CVE-2022-30818wedding management system project wedding management systemEPSS 1.0%
Wedding Management System v1.0 is vulnerable to SQL injection via /Wedding-Management/admin/blog_events_edit.php?id=31.
- 9.8CVE-2022-30817simple bus ticket booking system project simple bus ticket booking systemEPSS 1.2%
Simple Bus Ticket Booking System 1.0 is vulnerable to SQL Injection via /SimpleBusTicket/index.php.