CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 9
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.5CVE-2021-32789automattic woocommerce blocksEPSS 17%
woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce Blocks feature plugin between version 2.5.0 and prior to versio…
- 7.5CVE-2021-25201learning management system project learning management systemEPSS 1.5%
SQL injection vulnerability in Learning Management System v 1.0 allows remote attackers to execute arbitrary SQL statements through the id parameter to obtain sensitive database information.
- 9.8CVE-2021-25213travel management system project travel management systemEPSS 1.5%
SQL injection vulnerability in SourceCodester Travel Management System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the catid parameter to subcat.php.
- 9.8CVE-2021-25209theme park ticketing system project theme park ticketing systemEPSS 1.3%
SQL injection vulnerability in SourceCodester Theme Park Ticketing System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to view_user.php .
- 9.8CVE-2021-25205e-commerce website project e-commerce websiteEPSS 1.5%
SQL injection vulnerability in SourceCodester E-Commerce Website V 1.0 allows remote attackers to execute arbitrary SQL statements, via the update parameter to empViewUpdate.php .
- 9.8CVE-2021-26223casap automated enrollment system project casap automated enrollment systemEPSS 1.5%
SQL injection vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to view_pay.php.
- 9.8CVE-2021-25212alumni management system project alumni management systemEPSS 1.5%
SQL injection vulnerability in SourceCodester Alumni Management System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to manage_event.php.
- 9.8CVE-2021-26226casap automated enrollment system project casap automated enrollment systemEPSS 1.5%
SQL injection vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to edit_user.php.
- 9.8CVE-2021-25202sales and inventory system project sales and inventory systemEPSS 1.5%
SQL injection vulnerability in SourceCodester Sales and Inventory System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to \ahira\admin\inventory.php.
- 9.8CVE-2020-36033water billing system project water billing systemEPSS 1.1%
SQL injection vulnerability in SourceCodester Water Billing System 1.0 via the id parameter to edituser.php.
- 9.8CVE-2021-26232simple college website project simple college websiteEPSS 2.6%
SQL injection vulnerability in SourceCodester Simple College Website v 1.0 allows remote attackers to execute arbitrary SQL statements via the id parameter to news.php.
- 9.8CVE-2021-26231fantastic blog cms project fantastic blog cmsEPSS 1.5%
SQL injection vulnerability in SourceCodester Fantastic Blog CMS v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to category.php.
- 9.8CVE-2021-26229casap automated enrollment system project casap automated enrollment systemEPSS 1.5%
SQL injection vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to edit_stud.php.
- 9.8CVE-2021-26228casap automated enrollment system project casap automated enrollment systemEPSS 1.7%
SQL injection vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to edit_class1.php.
- 9.8CVE-2021-26765phpgurukul student record systemEPSS 2.9%
SQL injection vulnerability in PHPGurukul Student Record System 4.0 allows remote attackers to execute arbitrary SQL statements, via the sid parameter to edit-sub.php.
- 8.8CVE-2021-26764phpgurukul student record systemEPSS 2.5%
SQL injection vulnerability in PHPGurukul Student Record System v 4.0 allows remote attackers to execute arbitrary SQL statements, via the id parameter to edit-std.php.
- 8.8CVE-2021-26762phpgurukul student record systemEPSS 2.3%
SQL injection vulnerability in PHPGurukul Student Record System 4.0 allows remote attackers to execute arbitrary SQL statements, via the cid parameter to edit-course.php.
- 8.8CVE-2021-30486sysaidEPSS 1.0%
SysAid 20.3.64 b14 is affected by Blind and Stacker SQL injection via AssetManagementChart.jsp (GET computerID), AssetManagementChart.jsp (POST group1), AssetManagementList.jsp (GET computerID or group1), or AssetManagementSummary.jsp (GET…
- 7.5CVE-2020-23282mv mconnectEPSS 1.3%
SQL injection in Logon Page in MV's mConnect application, v02.001.00, allows an attacker to use a non existing user with a generic password to connect to the application and get access to unauthorized information.
- 9.8CVE-2020-35427phpgurukul employee record management systemEPSS 2.9%
SQL injection vulnerability in PHPGurukul Employee Record Management System 1.1 allows remote attackers to execute arbitrary SQL commands and bypass authentication.
- 8.8CVE-2021-27021puppetEPSS 1.3%
A flaw was discovered in Puppet DB, this flaw results in an escalation of privileges which allows the user to delete tables via an SQL query.
- 7.2CVE-2020-5320dellEPSS 0.9%
Dell EMC OpenManage Enterprise (OME) versions prior to 3.2 and OpenManage Enterprise-Modular (OME-M) versions prior to 1.10.00 contain a SQL injection vulnerability. A remote authenticated malicious user with high privileges could potentia…
- 8.8CVE-2021-28053centreonEPSS 1.8%
An issue was discovered in Centreon-Web in Centreon Platform 20.10.0. A SQL injection vulnerability in "Configuration > Users > Contacts / Users" allows remote authenticated users to execute arbitrary SQL commands via the Additional Inform…
- 9.8CVE-2020-18155intelliants subrionEPSS 1.3%
SQL Injection vulnerability in Subrion CMS v4.2.1 in the search page if a website uses a PDO connection.
- 7.5CVE-2020-29147wayang-cms project wayang-cmsEPSS 1.1%
A SQL injection vulnerability in wy_controlls/wy_side_visitor.php of Wayang-CMS v1.0 allows attackers to obtain sensitive database information.
- 9.8CVE-2020-18144ectouchEPSS 1.1%
SQL Injection Vulnerability in ECTouch v2 via the integral_min parameter in index.php.
- 9.8CVE-2021-33578echobh sharecareEPSS 1.2%
Echo ShareCare 8.15.5 is susceptible to SQL injection vulnerabilities when processing remote input from both authenticated and unauthenticated users, leading to the ability to bypass authentication, exfiltrate Structured Query Language (SQ…
- 9.8CVE-2021-24442wpdevart poll\, survey\, questionnaire and voting systemEPSS 46%
The Poll, Survey, Questionnaire and Voting system WordPress plugin before 1.5.3 did not sanitise, escape or validate the date_answers[] POST parameter before using it in a SQL statement when sending a Poll result, allowing unauthenticated …
- 9.8CVE-2021-24385ninjateam filebirdEPSS 2.8%
The Filebird Plugin 4.7.3 introduced a SQL injection vulnerability as it is making SQL queries without escaping user input data from a HTTP post request. This is a major vulnerability as the user input is not escaped and passed directly to…
- 9.8CVE-2020-18544wms project wmsEPSS 2.3%
SQL Injection in WMS v1.0 allows remote attackers to execute arbitrary code via the "username" parameter in the component "chkuser.php".
- 9.8CVE-2020-21133metinfoEPSS 1.7%
SQL Injection vulnerability in Metinfo 7.0.0 beta in member/getpassword.php?lang=cn&a=dovalid.
- 9.8CVE-2020-21132metinfoEPSS 1.7%
SQL Injection vulnerability in Metinfo 7.0.0beta in index.php.
- 7.2CVE-2020-21131metinfoEPSS 1.2%
SQL Injection vulnerability in MetInfo 7.0.0beta via admin/?n=language&c=language_web&a=doAddLanguage.
- 9.8CVE-2021-24007fortinet fortimailEPSS 1.4%
Multiple improper neutralization of special elements of SQL commands vulnerabilities in FortiMail before 6.4.4 may allow a non-authenticated attacker to execute unauthorized code or commands via specifically crafted HTTP requests.
- 8.8CVE-2021-29730ibm infosphere information serverEPSS 1.0%
IBM InfoSphere Information Server 11.7 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-end database. IBM X…
- 8.8CVE-2021-30117kaseya vsaEPSS 72%
The API call /InstallTab/exportFldr.asp is vulnerable to a semi-authenticated boolean-based blind SQL injection in the parameter fldrId. Detailed description --- Given the following request: ``` GET /InstallTab/exportFldr.asp?fldrId=1’ HTT…
- 8.8CVE-2021-23405pimcoreEPSS 1.7%
This affects the package pimcore/pimcore before 10.0.7. This issue exists due to the absence of check on the storeId parameter in the method collectionsActionGet and groupsActionGet method within the ClassificationstoreController class.
- 8.8CVE-2021-34609arubanetworks clearpass policy managerEPSS 1.1%
A remote SQL injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): Prior to 6.10.0, 6.9.6 and 6.8.9. Aruba has released updates to ClearPass Policy Manager that address this security vulnerability.
- 7.5CVE-2020-20585metinfoEPSS 1.7%
A blind SQL injection in /admin/?n=logs&c=index&a=dode of Metinfo 7.0 beta allows attackers to access sensitive database information.
- 7.5CVE-2020-205838cms ljcmsEPSS 1.3%
A SQL injection vulnerability in /question.php of LJCMS Version v4.3.R60321 allows attackers to obtain sensitive database information.
- 6.5CVE-2021-25427google androidEPSS 0.2%
SQL injection vulnerability in Bluetooth prior to SMR July-2021 Release 1 allows unauthorized access to paired device information
- 7.2CVE-2021-24451export users with meta project export users with metaEPSS 1.4%
The Export Users With Meta WordPress plugin before 0.6.5 did not escape the list of roles to export before using them in a SQL statement in the export functionality, available to admins, leading to an authenticated SQL Injection.
- 8.8CVE-2021-27950sitasoftware azurcmsEPSS 1.5%
A SQL injection vulnerability in azurWebEngine in Sita AzurCMS through 1.2.3.12 allows an authenticated attacker to execute arbitrary SQL commands via the id parameter to mesdocs.ajax.php in azurWebEngine/eShop. By default, the query is ex…
- 9.8CVE-2021-35042EPSS 44%
Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.
- 8.8CVE-2020-4902ibm datacap navigatorEPSS 1.0%
IBM Datacap Taskmaster Capture (IBM Datacap Navigator 9.1.7) 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 ba…
- 8.8CVE-2021-28423phpgurukul teachers record management systemEPSS 2.6%
Multiple SQL Injection vulnerabilities in Teachers Record Management System 1.0 thru 2.1 allow remote authenticated users to execute arbitrary SQL commands via the 'editid' GET parameter in edit-subjects-detail.php, edit-teacher-detail.php…
- 7.5CVE-2021-28993plixer scrutinizerEPSS 1.0%
Plixer Scrutinizer 19.0.2 is affected by: SQL Injection. The impact is: obtain sensitive information (remote).
- 8.8CVE-2020-21394crmebEPSS 1.2%
SQL Injection vulnerability in Zhong Bang Technology Co., Ltd CRMEB mall system V2.60 and V3.1 via the tablename parameter in SystemDatabackup.php.
- 9.8CVE-2020-23711naviwebs navigate cmsEPSS 1.5%
SQL Injection vulnerability in NavigateCMS 2.9 via the URL encoded GET input category in navigate.php.
- 9.8CVE-2021-34187chamiloEPSS 16%
main/inc/ajax/model.ajax.php in Chamilo through 1.11.14 allows SQL Injection via the searchField, filters, or filters2 parameter.