CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 25
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-29306ionizecms ionizeEPSS 1.1%
IonizeCMS v1.0.8.1 was discovered to contain a SQL injection vulnerability via the id_page parameter in application/models/article_model.php.
- 9.8CVE-2022-22413ibm robotic process automationEPSS 1.3%
IBM Robotic Process Automation 21.0.0, 21.0.1, and 21.0.2 is vulnerable to SQL injection. A remote attacker could send specially crafted SQL statements, which could allow the attacker to view, add, modify or delete information in the back-…
- 9.8CVE-2022-29995online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via /scbs/admin/?page=clients/manage_client&id=.
- 9.8CVE-2022-29994online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via /scbs/admin/?page=facilities/manage_facility&id=.
- 9.8CVE-2022-29993online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via /scbs/admin/bookings/view_booking.php?id=.
- 9.8CVE-2022-29992online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via /scbs/admin/categories/manage_category.php?id=.
- 9.8CVE-2022-29990online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via /scbs/admin/categories/view_category.php?id=.
- 9.8CVE-2022-29989online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via \scbs\classes\Master.php?f=delete_booking.
- 9.8CVE-2022-29988online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via \scbs\classes\Master.php?f=delete.
- 9.8CVE-2022-29987online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via /scbs/admin/?page=user/manage_user&id=.
- 9.8CVE-2022-29986online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via \scbs\classes\Master.php?f=delete_facility.
- 9.8CVE-2022-29985online sports complex booking system project online sports complex booking systemEPSS 1.1%
Online Sports Complex Booking System 1.0 is vulnerable to SQL Injection via \scbs\classes\Master.php?f=delete_category.
- 9.8CVE-2022-29984simple client management system project simple client management systemEPSS 1.7%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/admin/?page=client/view_client&id=.
- 9.8CVE-2022-29983simple client management system project simple client management systemEPSS 1.7%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/admin/?page=invoice/view_invoice&id=.
- 9.8CVE-2022-29982simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/admin/maintenance/manage_service.php?id=.
- 9.8CVE-2022-29981simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/classes/Users.php?f=delete.
- 9.8CVE-2022-29980simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/admin/?page=user/manage_user&id=.
- 9.8CVE-2022-29979simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/classes/Master.php?f=delete_designation.
- 9.8CVE-2022-29751simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/classes/Master.php?f=delete_client.
- 9.8CVE-2022-29750simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/classes/Master.php?f=delete_service.
- 9.8CVE-2022-29749simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/classes/Master.php?f=delete_invoice.
- 9.8CVE-2022-29748simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via \cms\admin?page=client/manage_client&id=.
- 9.8CVE-2022-29747simple client management system project simple client management systemEPSS 1.6%
Simple Client Management System 1.0 is vulnerable to SQL Injection via /cms/admin/?page=invoice/manage_invoice&id= // Leak place ---> id.
- 8.8CVE-2022-30451waimairencms project waimairencmsEPSS 1.6%
An authenticated user could execute code via a SQLi vulnerability in waimairenCMS before version 9.1.
- 9.8CVE-2022-30449hospital management system project hospital management systemEPSS 1.7%
Hospital Management System in PHP with Source Code (HMS) 1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in room.php.
- 7.2CVE-2022-30452shopwindEPSS 1.0%
ShopWind <= v3.4.2 has a Sql injection vulnerability in Database.php
- 9.8CVE-2022-30048mingsoft mcmsEPSS 1.5%
Mingsoft MCMS 5.2.7 was discovered to contain a SQL injection vulnerability in /mdiy/dict/list URI via orderBy parameter.
- 9.8CVE-2022-30047mingsoft mcmsEPSS 4.9%
Mingsoft MCMS v5.2.7 was discovered to contain a SQL injection vulnerability in /mdiy/dict/listExcludeApp URI via orderBy parameter.
- 9.8CVE-2022-29009phpgurukul cyber cafe management systemEPSS 23%
Multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel of Cyber Cafe Management System Project v1.0 allows attackers to bypass authentication.
- 9.8CVE-2022-29007phpgurukul dairy farm shop management systemEPSS 19%
Multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel of Dairy Farm Shop Management System v1.0 allows attackers to bypass authentication.
- 9.8CVE-2022-29006phpgurukul directory management systemEPSS 19%
Multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel of Directory Management System v1.0 allows attackers to bypass authentication.
- 9.8CVE-2022-29656wedding management system project wedding management systemEPSS 0.9%
Wedding Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /Wedding-Management/package_detail.php.
- 9.8CVE-2022-29317simple bus ticket booking system project simple bus ticket booking systemEPSS 0.9%
Simple Bus Ticket Booking System v1.0 was discovered to contain multiple SQL injection vulnerbilities via the username and password parameters at /assets/partials/_handleLogin.php.
- 9.8CVE-2022-29316complete online job search system project complete online job search systemEPSS 3.3%
Complete Online Job Search System v1.0 was discovered to contain a SQL injection vulnerability via /eris/index.php?q=result&searchfor=advancesearch.
- 8.8CVE-2022-26116fortinet fortinacEPSS 0.8%
Multiple improper neutralization of special elements used in SQL commands ('SQL Injection') vulnerability [CWE-89] in FortiNAC version 8.3.7 and below, 8.5.2 and below, 8.5.4, 8.6.0, 8.6.5 and below, 8.7.6 and below, 8.8.11 and below, 9.1.…
- 7.5CVE-2022-1505carrcommunications rsvpmakerEPSS 1.9%
The RSVPMaker plugin for WordPress is vulnerable to unauthenticated SQL Injection due to missing SQL escaping and parameterization on user supplied data passed to a SQL query in the rsvpmaker-api-endpoints.php file. This makes it possible …
- 7.5CVE-2022-1453carrcommunications rsvpmakerEPSS 6.9%
The RSVPMaker plugin for WordPress is vulnerable to unauthenticated SQL Injection due to missing SQL escaping and parameterization on user supplied data passed to a SQL query in the rsvpmaker-util.php file. This makes it possible for unaut…
- 7.5CVE-2021-43010safedog apacheEPSS 1.1%
In Safedog Apache v4.0.30255, attackers can bypass this product for SQL injection. Attackers can bypass access to sensitive data.
- 9.8CVE-2022-28110hotel management system project hotel management systemEPSS 1.0%
Hotel Management System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter at the login page.
- 9.8CVE-2021-43094openmrsEPSS 1.3%
An SQL Injection vulnerability exists in OpenMRS Reference Application Standalone Edition <=2.11 and Platform Standalone Edition <=2.4.0 via GET requests on arbitrary parameters in patient.page.
- 9.8CVE-2022-30335wealth bonanza wealth management systemEPSS 1.2%
Bonanza Wealth Management System (BWM) 7.3.2 allows SQL injection via the login form. Users who supply the application with a SQL injection payload in the User Name textbox could collect all passwords in encrypted format from the Microsoft…
- 9.8CVE-2022-27412exploreit explore cmsExploitEPSS 4.1%
Explore CMS v1.0 was discovered to contain a SQL injection vulnerability via a /page.php?id= request.
- 9.8CVE-2022-1013ays-pro personal dictionaryEPSS 7.5%
The Personal Dictionary WordPress plugin before 1.3.4 fails to properly sanitize user supplied POST data before it is being interpolated in an SQL statement and then executed, leading to a blind SQL injection vulnerability.
- 9.8CVE-2022-0948pluginbazaar order listener for woocommerceEPSS 9.9%
The Order Listener for WooCommerce WordPress plugin before 3.2.2 does not sanitise and escape the id parameter before using it in a SQL statement via a REST route available to unauthenticated users, leading to an SQL injection
- 9.8CVE-2022-0836semadatacoop sema apiEPSS 1.8%
The SEMA API WordPress plugin before 4.02 does not properly sanitise and escape some parameters before using them in SQL statements via an AJAX action, leading to SQL Injections exploitable by unauthenticated users
- 9.8CVE-2022-0826wp-video-gallery-free project wp-video-gallery-freeEPSS 9.1%
The WP Video Gallery WordPress plugin through 1.7.1 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action, leading to an SQL Injection exploitable by unauthenticated users
- 9.8CVE-2022-0817badgeosEPSS 12%
The BadgeOS WordPress plugin through 3.7.0 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action, leading to an SQL Injection exploitable by unauthenticated users
- 9.8CVE-2022-0814ubigeo de peru para woocommerce project ubigeo de peru para woocommerceEPSS 8.0%
The Ubigeo de Perú para Woocommerce WordPress plugin before 3.6.4 does not properly sanitise and escape some parameters before using them in SQL statements via various AJAX actions, some of which are available to unauthenticated users, lea…
- 9.8CVE-2022-0592mapsvgEPSS 10%
The MapSVG WordPress plugin before 6.2.20 does not validate and escape a parameter via a REST endpoint before using it in a SQL statement, leading to a SQL Injection exploitable by unauthenticated users.
- 9.8CVE-2022-28163broadcom sannavEPSS 0.9%
In Brocade SANnav before Brocade SANnav 2.2.0, multiple endpoints associated with Zone management are susceptible to SQL injection, allowing an attacker to run arbitrary SQL commands.