CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 5
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
- 8.8CVE-2021-37737arubanetworks clearpass policy managerEPSS 1.1%
A remote SQL injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): ClearPass Policy Manager 6.10.x prior to 6.10.2 - - ClearPass Policy Manager 6.9.x prior to 6.9.7-HF1 - - ClearPass Policy Manager 6.8.x prio…
- 8.8CVE-2021-42334huaju easytest online learning test platformEPSS 1.1%
The Easytest contains SQL injection vulnerabilities. After obtaining a user’s privilege, remote attackers can inject SQL commands into the parameters of the elective course management page to obtain all database and administrator permissio…
- 8.8CVE-2021-42333huaju easytest online learning test platformEPSS 1.1%
The Easytest contains SQL injection vulnerabilities. After obtaining user’s privilege, remote attackers can inject SQL commands into the parameters of the learning history page to access all database and obtain administrator permissions.
- 8.8CVE-2021-42369zucchetti imagicle uc suiteEPSS 1.1%
Imagicle Application Suite (for Cisco UC) before 2021.Summer.2 allows SQL injection. A low-privileged user could inject a SQL statement through the "Export to CSV" feature of the Contact Manager web GUI.
- 8.8CVE-2021-33177nagios xiEPSS 10%
The Bulk Modifications functionality in Nagios XI versions prior to 5.8.5 is vulnerable to SQL injection. Exploitation requires the malicious actor to be authenticated to the vulnerable system, but once authenticated they would be able to …
- 7.5CVE-2020-19961zzcmsEPSS 1.7%
A SQL injection vulnerability has been discovered in zz cms version 2019 which allows attackers to retrieve sensitive data via the component subzs.php.
- 7.5CVE-2020-19960zzcmsEPSS 1.5%
A SQL injection vulnerability has been discovered in zz cms version 2019 which allows attackers to retrieve sensitive data via the dlid parameter in the /dl/dl_sendsms.php page cookie.
- 7.5CVE-2020-19959zzcmsEPSS 1.5%
A SQL injection vulnerability has been discovered in zz cms version 2019 which allows attackers to retrieve sensitive data via the dlid parameter in the /dl/dl_sendmail.php page cookie.
- 7.5CVE-2020-19957zzcmsEPSS 1.5%
A SQL injection vulnerability has been discovered in zz cms version 2019 which allows attackers to retrieve sensitive data via the id parameter on the /dl/dl_print.php page.
- 9.8CVE-2021-41075zohocorp manageengine opmanagerEPSS 3.4%
The NetFlow Analyzer in Zoho ManageEngine OpManger before 125455 is vulnerable to SQL Injection in the Attacks Module API.
- 9.8CVE-2021-40493zohocorp manageengine opmanagerEPSS 50%
Zoho ManageEngine OpManager before 125437 is vulnerable to SQL Injection in the support diagnostics module. This occurs via the pollingObject parameter of the getDataCollectionFailureReason API.
- 9.8CVE-2021-42224phpgurukul ifsc code finderEPSS 2.3%
SQL Injection vulnerability exists in IFSC Code Finder Project 1.0 via the searchifsccode POST parameter in /search.php.
- 9.8CVE-2021-40842proofpoint insider threat management serverEPSS 1.0%
Proofpoint Insider Threat Management Server contains a SQL injection vulnerability in the Web Console. The vulnerability exists due to improper input validation on the database name parameter required in certain unauthenticated APIs. A mal…
- 9.8CVE-2021-42325froxlorExploitEPSS 12%
Froxlor through 0.10.29.1 allows SQL injection in Database/Manager/DbManagerMySQL.php via a custom DB name.
- 9.8CVE-2021-40618os4ed opensisEPSS 1.4%
An SQL Injection vulnerability exists in openSIS Classic 8.0 via the 1) ADDR_CONT_USRN, 2) ADDR_CONT_PSWD, 3) SECN_CONT_USRN or 4) SECN_CONT_PSWD parameters in HoldAddressFields.php.
- 7.2CVE-2021-33736siemens sinec nmsEPSS 1.2%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 7.2CVE-2021-33735siemens sinec nmsEPSS 1.1%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 7.2CVE-2021-33734siemens sinec nmsEPSS 28%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 7.2CVE-2021-33733siemens sinec nmsEPSS 15%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 7.2CVE-2021-33732siemens sinec nmsEPSS 28%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 7.2CVE-2021-33731siemens sinec nmsEPSS 47%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 7.2CVE-2021-33730siemens sinec nmsEPSS 28%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitrary commands in the local database by sending crafted requests to the webserver of the affected ap…
- 8.8CVE-2021-33729siemens sinec nmsEPSS 2.4%
A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). An authenticated attacker that is able to import firmware containers to an affected system could execute arbitrary commands in the local database.
- 9.8CVE-2021-40617os4ed opensisExploitEPSS 5.2%
An SQL Injection vulnerability exists in openSIS Community Edition version 8.0 via ForgotPassUserName.php.
- 9.8CVE-2021-40543os4ed opensisEPSS 1.1%
Opensis-Classic Version 8.0 is affected by a SQL injection vulnerability due to a lack of sanitization of input data at two parameters $_GET['usrid'] and $_GET['prof_id'] in the PasswordCheck.php file.
- 8.8CVE-2021-29004rconfigEPSS 2.1%
rConfig 3.9.6 is affected by SQL Injection. A user must be authenticated to exploit the vulnerability. If --secure-file-priv in MySQL server is not set and the Mysql server is the same as rConfig, an attacker may successfully upload a webs…
- 7.5CVE-2021-24651ays-pro poll makerEPSS 1.6%
The Poll Maker WordPress plugin before 3.4.2 allows unauthenticated users to perform SQL injection via the ays_finish_poll AJAX action. While the result is not disclosed in the response, it is possible to use a timing attack to exfiltrate …
- 7.5CVE-2021-41920webtareas project webtareasEPSS 1.7%
webTareas version 2.4 and earlier allows an unauthenticated user to perform Time and Boolean-based blind SQL Injection on the endpoint /includes/library.php, via the sor_cible, sor_champs, and sor_ordre HTTP POST parameters. This allows an…
- 7.2CVE-2021-41947intelliants subrion cmsEPSS 1.2%
A SQL injection vulnerability exists in Subrion CMS v4.2.1 in the visual-mode.
- 9.8CVE-2020-21726opensnsEPSS 1.3%
OpenSNS v6.1.0 contains a blind SQL injection vulnerability in /Controller/ChinaCityController.class.php via the cid parameter.
- 9.8CVE-2020-21725opensnsEPSS 1.3%
OpenSNS v6.1.0 contains a blind SQL injection vulnerability in /Controller/ChinaCityController.class.php via the pid parameter.
- 4.4CVE-2021-25482google androidEPSS 0.1%
SQL injection vulnerabilities in CMFA framework prior to SMR Oct-2021 Release 1 allow untrusted application to overwrite some CMFA framework information.
- 9.8CVE-2021-29903ibm sterling b2b integratorEPSS 1.1%
IBM Sterling B2B Integrator Standard Edition 5.2.6.0 through 6.1.1.0 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 i…
- 9.8CVE-2021-29798ibm sterling b2b integratorEPSS 1.1%
IBM Sterling B2B Integrator Standard Edition 6.0.0.0 through 6.1.1.0 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 i…
- 6.5CVE-2021-39351wp bannerize project wp bannerizeEPSS 1.1%
The WP Bannerize WordPress plugin is vulnerable to authenticated SQL injection via the id parameter found in the ~/Classes/wpBannerizeAdmin.php file which allows attackers to exfiltrate sensitive information from vulnerable sites. This iss…
- 7.5CVE-2021-41651hotel management system project hotel management systemEPSS 2.4%
A blind SQL injection vulnerability exists in the Raymart DG / Ahmed Helal Hotel-mgmt-system. A malicious attacker can retrieve sensitive database information and interact with the database using the vulnerable cid parameter in process_upd…
- 9.8CVE-2021-41511lodging reservation management system project lodging reservation management systemEPSS 3.4%
The username and password field of login in Lodging Reservation Management System V1 can give access to any user by using SQL injection to bypass authentication.
- 8.1CVE-2021-24465meowapps meow galleryEPSS 1.2%
The Meow Gallery WordPress plugin before 4.1.9 does not sanitise, validate or escape the ids attribute of its gallery shortcode (available for users as low as Contributor) before using it in an SQL statement, leading to an authenticated SQ…
- 6.5CVE-2021-41845thycotic secret serverEPSS 0.7%
A SQL injection issue was discovered in ThycoticCentrify Secret Server before 11.0.000007. The only affected versions are 10.9.000032 through 11.0.000006.
- 7.2CVE-2020-21013emlogEPSS 1.0%
emlog v6.0.0 contains a SQL injection via /admin/comment.php.
- 9.8CVE-2020-21012nikhil-bhalerao hotel and lodge management systemEPSS 3.5%
Sourcecodester Hotel and Lodge Management System 2.0 is vulnerable to unauthenticated SQL injection and can allow remote attackers to execute arbitrary SQL commands via the email parameter to the edit page for Customer, Room, Currency, Roo…
- 9.1CVE-2021-41647online food ordering web app project online food ordering web appEPSS 2.0%
An un-authenticated error-based and time-based blind SQL injection vulnerability exists in Kaushik Jadhav Online Food Ordering Web App 1.0. An attacker can exploit the vulnerable "username" parameter in login.php and retrieve sensitive dat…
- 9.8CVE-2021-41649online-shopping-system-advanced project online-shopping-system-advancedEPSS 52%
An un-authenticated SQL Injection exists in PuneethReddyHC online-shopping-system-advanced through the /homeaction.php cat_id parameter. Using a post request does not sanitize the user input.
- 7.5CVE-2021-41648online-shopping-system-advanced project online-shopping-system-advancedEPSS 10%
An un-authenticated SQL Injection exists in PuneethReddyHC online-shopping-system-advanced through the /action.php prId parameter. Using a post request does not sanitize the user input.
- 9.8CVE-2020-20797flamecms project flamecmsEPSS 1.1%
FlameCMS 3.3.5 contains a time-based blind SQL injection vulnerability in /account/register.php.
- 9.8CVE-2020-20796flamecms project flamecmsEPSS 1.0%
FlameCMS 3.3.5 contains a SQL injection vulnerability in /master/article.php via the "Id" parameter.
- 9.8CVE-2021-41288zohocorp manageengine opmanagerEPSS 80%
Zoho ManageEngine OpManager version 125466 and below is vulnerable to SQL Injection in the getReportData API.
- 9.8CVE-2020-20122wuzhicmsEPSS 1.3%
Wuzhi CMS v4.1 contains a SQL injection vulnerability in the checktitle() function in /coreframe/app/content/admin/content.php.
- 9.8CVE-2020-20120thinkphpEPSS 1.8%
ThinkPHP v3.2.3 and below contains a SQL injection vulnerability which is triggered when the array is not passed to the "where" and "query" methods.
- 9.8CVE-2021-38303surelinesystems sureedge migratorEPSS 1.3%
A SQL injection vulnerability exists in Sureline SUREedge Migrator 7.0.7.29360.