CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 10
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-2021-35456online pet shop web application project online pet shop web applicationEPSS 2.1%
Online Pet Shop We App 1.0 is vulnerable to remote SQL injection and shell upload
- 8.8CVE-2021-35049fidelissecurityEPSS 4.6%
Vulnerability in Fidelis Network and Deception CommandPost enables authenticated command injection through the web interface. The vulnerability could allow a specially crafted HTTP request to execute system commands on the CommandPost and …
- 9.8CVE-2021-35048fidelissecurityEPSS 1.3%
Vulnerability in Fidelis Network and Deception CommandPost enables unauthenticated SQL injection through the web interface. The vulnerability could lead to exposure of authentication tokens in some versions of Fidelis software. The vulnera…
- 9.8CVE-2020-18667webportEPSS 1.4%
SQL Injection vulnerability in WebPort <=1.19.1 via the new connection, parameter name in type-conn.
- 8.8CVE-2021-32704dhis2 dhis 2EPSS 0.8%
DHIS 2 is an information system for data capture, management, validation, analytics and visualization. A SQL injection security vulnerability has been found in specific versions of DHIS2. This vulnerability affects the /api/trackedEntityIn…
- 9.8CVE-2020-18662sir gnuboardExploitEPSS 5.4%
SQL Injection vulnerability in gnuboard5 <=v5.3.2.8 via the table_prefix parameter in install_db.php.
- 9.8CVE-2020-20392txjia imcatEPSS 1.4%
SQL Injection vulnerability in imcat v5.2 via the fm[auser] parameters in coms/add_coms.php.
- 8.8CVE-2021-31586accellion kiteworksEPSS 44%
Accellion Kiteworks before 7.4.0 allows an authenticated user to perform SQL Injection via LDAPGroup Search.
- 7.5CVE-2020-22175phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\admin\betweendates-detailsreports.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22174phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\book-appointment.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22173phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\edit-profile.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22172phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\get_doctor.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22171phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\registration.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22170phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\get_doctor.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22169phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\appointment-history.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22168phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\change-emaild.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22166phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\forgot-password.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22165phpgurukul hospital management systemEPSS 7.6%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\user-login.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 7.5CVE-2020-22164phpgurukul hospital management systemEPSS 2.2%
PHPGurukul Hospital Management System in PHP v4.0 has a SQL injection vulnerability in \hms\check_availability.php. Remote unauthenticated users can exploit the vulnerability to obtain database sensitive information.
- 9.8CVE-2021-24361ayecode location managerEPSS 1.8%
In the Location Manager WordPress plugin before 2.1.0.10, the AJAX action gd_popular_location_list did not properly sanitise or validate some of its POST parameters, which are then used in a SQL statement, leading to unauthenticated SQL In…
- 7.5CVE-2020-20474white shark systems project white shark systemsEPSS 1.7%
White Shark System (WSS) 1.3.2 has a SQL injection vulnerability. The vulnerability stems from the default_task_edituser.php files failing to filter the csa_to_user parameter. Remote attackers can exploit the vulnerability to obtain databa…
- 7.5CVE-2020-20473white shark systems project white shark systemsEPSS 1.7%
White Shark System (WSS) 1.3.2 has a SQL injection vulnerability. The vulnerability stems from the control_task.php, control_project.php, default_user.php files failing to filter the sort parameter. Remote attackers can exploit the vulnera…
- 7.5CVE-2020-20469white shark systems project white shark systemsEPSS 1.7%
White Shark System (WSS) 1.3.2 has a SQL injection vulnerability. The vulnerability stems from the log_edit.php files failing to filter the csa_to_user parameter, remote attackers can exploit the vulnerability to obtain database sensitive …
- 9.8CVE-2021-3604primion-digitek secure 8EPSS 1.6%
Secure 8 (Evalos) does not validate user input data correctly, allowing a remote attacker to perform a Blind SQL Injection. An attacker could exploit this vulnerability in order to extract information of users and administrator accounts st…
- 4.3CVE-2021-31818octopus serverEPSS 0.6%
Affected versions of Octopus Server are prone to an authenticated SQL injection vulnerability in the Events REST API because user supplied data in the API request isn’t parameterised correctly. Exploiting this vulnerability could allow una…
- 7.5CVE-2021-32582connectwise automateEPSS 1.1%
An issue was discovered in ConnectWise Automate before 2021.5. A blind SQL injection vulnerability exists in core agent inventory communication that can enable an attacker to extract database information or administrative credentials from …
- 9.8CVE-2020-2221274cmsEPSS 1.4%
SQL Injection in 74cms 3.2.0 via the id parameter to wap/wap-company-show.php.
- 9.8CVE-2020-2221174cmsEPSS 7.9%
SQL Injection in 74cms 3.2.0 via the key parameter to plus/ajax_street.php.
- 9.8CVE-2020-2221074cmsEPSS 8.6%
SQL Injection in 74cms 3.2.0 via the x parameter to ajax_officebuilding.php.
- 9.8CVE-2020-2220974cmsEPSS 8.6%
SQL Injection in 74cms 3.2.0 via the query parameter to plus/ajax_common.php.
- 9.8CVE-2020-2220874cmsEPSS 10%
SQL Injection in 74cms 3.2.0 via the x parameter to plus/ajax_street.php.
- 9.8CVE-2020-22206shopex ecshopEPSS 1.4%
SQL Injection in ECShop 3.0 via the aid parameter to admin/affiliate_ck.php.
- 9.8CVE-2020-22205shopex ecshopEPSS 1.4%
SQL Injection in ECShop 3.0 via the id parameter to admin/shophelp.php.
- 9.8CVE-2020-22204shopex ecshopEPSS 1.4%
SQL Injection in ECShop 2.7.6 via the goods_number parameter to flow.php. .
- 9.8CVE-2020-22203phpcmsEPSS 1.1%
SQL Injection in phpCMS 2008 sp4 via the genre parameter to yp/job.php.
- 9.8CVE-2020-22199phpcmsEPSS 1.2%
SQL Injection vulnerability in phpCMS 2007 SP6 build 0805 via the digg_mod parameter to digg_add.php.
- 9.8CVE-2020-22198dedecmsEPSS 1.7%
SQL Injection vulnerability in DedeCMS 5.7 via mdescription parameter to member/ajax_membergroup.php.
- 9.8CVE-2020-29214alumni management system project alumni management systemEPSS 4.4%
SQL injection vulnerability in SourceCodester Alumni Management System 1.0 allows the user to inject SQL payload to bypass the authentication via admin/login.php.
- 6.5CVE-2021-24360kohsei-works yes\/no chartEPSS 1.2%
The Yes/No Chart WordPress plugin before 1.0.12 did not sanitise its sid shortcode parameter before using it in a SQL statement, allowing medium privilege users (contributor+) to perform Blind SQL Injection attacks
- 7.2CVE-2021-24348wow-estore side menuEPSS 1.6%
The menu delete functionality of the Side Menu – add fixed side buttons WordPress plugin before 3.1.5, available to Administrator users takes the did GET parameter and uses it into an SQL statement without proper sanitisation, validation o…
- 6.6CVE-2021-24345sendit project senditEPSS 1.3%
The page lists-management feature of the Sendit WP Newsletter WordPress plugin through 2.5.1, available to Administrator users does not sanitise, validate or escape the id_lista POST parameter before using it in SQL statement, therefore le…
- 8.8CVE-2021-24341xllentech english islamic calendarEPSS 1.6%
When deleting a date in the Xllentech English Islamic Calendar WordPress plugin before 2.6.8, the year_number and month_number POST parameters are not sanitised, escaped or validated before being used in a SQL statement, leading to SQL inj…
- 7.5CVE-2021-32932advantech iviewEPSS 1.2%
The affected product is vulnerable to a SQL injection, which may allow an unauthorized attacker to disclose information on the iView (versions prior to v5.7.03.6182).
- 4.3CVE-2021-23230gallagher command centreEPSS 0.7%
A SQL Injection vulnerability in the OPCUA interface of Gallagher Command Centre allows a remote unprivileged Command Centre Operator to modify Command Centre databases undetected. This issue affects: Gallagher Command Centre 8.40 versions…
- 8.8CVE-2020-24671tracefinanacial crestbridgeEPSS 1.0%
Trace Financial CRESTBridge <6.3.0.02 contains an authenticated SQL injection vulnerability, which was fixed in 6.3.0.03.
- 8.8CVE-2020-24667tracefinanacial crestbridgeEPSS 1.0%
Trace Financial CRESTBridge <6.3.0.02 contains an authenticated SQL injection vulnerability, which was fixed in 6.3.0.03.
- 8.8CVE-2021-33894progress moveit transferEPSS 1.1%
In Progress MOVEit Transfer before 2019.0.6 (11.0.6), 2019.1.x before 2019.1.5 (11.1.5), 2019.2.x before 2019.2.2 (11.2.2), 2020.x before 2020.0.5 (12.0.5), 2020.1.x before 2020.1.4 (12.1.4), and 2021.x before 2021.0.1 (13.0.1), a SQL inje…
- 5.3CVE-2021-29099esri arcgis serverEPSS 0.6%
A SQL injection vulnerability exists in some configurations of ArcGIS Server versions 10.8.1 and earlier. Specially crafted web requests can expose information that is not intended to be disclosed (not customer datasets). Web Services that…
- 7.5CVE-2021-24340veronalabs wp statisticsEPSS 30%
The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administ…
- 8.8CVE-2021-24337video-embed-box project video-embed-boxEPSS 1.6%
The id GET parameter of one of the Video Embed WordPress plugin through 1.0's page (available via forced browsing) is not sanitised, validated or escaped before being used in a SQL statement, allowing low privilege users, such as subscribe…