CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 2
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-44350thinkphpEPSS 1.4%
SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php.
- 8.8CVE-2021-43806enalean tuleapEPSS 1.6%
Tuleap is a Libre and Open Source tool for end to end traceability of application and system developments. In affected versions Tuleap does not sanitize properly user settings when constructing the SQL query to browse and search commits in…
- 9.8CVE-2021-44655online pre-owned\/used car showroom management system project online pre-owned\/used car showroom management systemExploitEPSS 6.0%
Online Pre-owned/Used Car Showroom Management System 1.0 contains a SQL injection authentication bypass vulnerability. Admin panel authentication can be bypassed due to SQL injection vulnerability in the login form allowing attacker to get…
- 9.8CVE-2021-44653oretnom23 online magazine management systemExploitEPSS 6.0%
Online Magazine Management System 1.0 contains a SQL injection authentication bypass vulnerability. The Admin panel authentication can be bypassed due to SQL injection vulnerability in the login form allowing attacker to gain access as adm…
- 10.0CVE-2021-42313microsoft defender for iotEPSS 4.1%
Microsoft Defender for IoT Remote Code Execution Vulnerability
- 10.0CVE-2021-42311microsoft defender for iotEPSS 4.4%
Microsoft Defender for IoT Remote Code Execution Vulnerability
- 8.8CVE-2021-41365microsoft defender for iotEPSS 2.9%
Microsoft Defender for IoT Remote Code Execution Vulnerability
- 9.8CVE-2021-42945zzcmsEPSS 1.0%
A SQL Injection vulnerability exists in ZZCMS 2021 via the askbigclassid parameter in /admin/ask.php.
- 8.8CVE-2021-43830openprojectEPSS 1.0%
OpenProject is a web-based project management software. OpenProject versions >= 12.0.0 are vulnerable to a SQL injection in the budgets module. For authenticated users with the "Edit budgets" permission, the request to reassign work packag…
- 9.8CVE-2021-42064sap commerceEPSS 1.1%
If configured to use an Oracle database and if a query is created using the flexible search java api with a parameterized "in" clause, SAP Commerce - versions 1905, 2005, 2105, 2011, allows attacker to execute crafted database queries, exp…
- 9.8CVE-2021-45014taogogo taocmsEPSS 1.1%
There is an upload sql injection vulnerability in the background of taocms 3.0.2 in parameter id:action=cms&ctrl=update&id=26
- 7.5CVE-2021-43822jackalope doctrine-dbal project jackalope doctrine-dbalEPSS 1.0%
Jackalope Doctrine-DBAL is an implementation of the PHP Content Repository API (PHPCR) using a relational database to persist data. In affected versions users can provoke SQL injections if they can specify a node name or query. Upgrade to …
- 9.8CVE-2021-44966phpgurukul employee record management systemEPSS 2.2%
SQL injection bypass authentication vulnerability in PHPGURUKUL Employee Record Management System 1.2 via index.php. An attacker can log in as an admin account of this system and can destroy, change or manipulate all sensitive information …
- 9.8CVE-2021-24951thimpress learnpressEPSS 1.6%
The LearnPress WordPress plugin before 4.1.4 does not sanitise, validate and escape the id parameter before using it in SQL statements when duplicating course/lesson/quiz/question, leading to SQL Injections issues
- 9.8CVE-2021-24946webnus modern events calendar liteExploitEPSS 73%
The Modern Events Calendar Lite WordPress plugin before 6.1.5 does not sanitise and escape the time parameter before using it in a SQL statement in the mec_load_single_page AJAX action, available to unauthenticated users, leading to an una…
- 9.8CVE-2021-24863billminozzi stop bad botsEPSS 1.6%
The WP Block and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection Plugin StopBadBots WordPress plugin before 6.67 does not sanitise and escape the User Agent before using it in a SQL statement to save it, leading to a SQL inject…
- 7.2CVE-2021-24861quotes collection project quotes collectionEPSS 1.3%
The Quotes Collection WordPress plugin through 2.5.2 does not validate and escape the bulkcheck parameter before using it in a SQL statement, leading to a SQL injection
- 8.8CVE-2021-24848frenify mediamaticEPSS 1.4%
The mediamaticAjaxRenameCategory AJAX action of the Mediamatic WordPress plugin before 2.8.1, available to any authenticated user, does not sanitise the categoryID parameter before using it in a SQL statement, leading to an SQL injection
- 7.2CVE-2021-24747cleverplugins seo boosterEPSS 1.5%
The SEO Booster WordPress plugin before 3.8 allows for authenticated SQL injection via the "fn_my_ajaxified_dataloader_ajax" AJAX request as the $_REQUEST['order'][0]['dir'] parameter is not properly escaped leading to blind and error-base…
- 9.8CVE-2021-43608doctrine-project database abstraction layerEPSS 2.4%
Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed un…
- 8.8CVE-2021-40282zzcmsEPSS 1.1%
An SQL Injection vulnerability exists in zzcms 8.2, 8.3, 2020, abd 2021 in dl/dl_download.php. when registering ordinary users.
- 8.8CVE-2021-40281zzcmsEPSS 1.1%
An SQL Injection vulnerability exists in zzcms 8.2, 8.3, 2020, and 2021 in dl/dl_print.php when registering ordinary users.
- 9.8CVE-2021-41695globaldatingsoftware premiumdatingscriptEPSS 1.3%
An SQL Injection vulnerability exists in Premiumdatingscript 4.2.7.7 via the ip parameter in connect.php. .
- 7.2CVE-2021-40280zzcmsEPSS 1.1%
An SQL Injection vulnerablitly exits in zzcms 8.2, 8.3, 2020, and 2021 via the id parameter in admin/dl_sendmail.php.
- 7.2CVE-2021-40279zzcmsEPSS 1.1%
An SQL Injection vulnerability exists in zzcms 8.2, 8.3, 2020, and 2021 via the id parameter in admin/bad.php.
- 9.8CVE-2021-3817wbce cmsExploitEPSS 38%
wbce_cms is vulnerable to Improper Neutralization of Special Elements used in an SQL Command
- 9.8CVE-2021-41063xylem aanderaa geoviewEPSS 2.1%
SQL injection vulnerability was discovered in Aanderaa GeoView Webservice prior to version 2.1.3 that could allow an unauthenticated attackers to execute arbitrary commands.
- 7.2CVE-2021-40861genesys intelligent workload distribution managerEPSS 1.7%
A SQL Injection in the custom filter query component in Genesys intelligent Workload Distribution (IWD) 9.0.017.07 allows an attacker to execute arbitrary SQL queries via the value attribute, with which all data in the database can be extr…
- 7.2CVE-2021-40860genesys intelligent workload distribution managerEPSS 1.7%
A SQL Injection in the custom filter query component in Genesys intelligent Workload Distribution (IWD) before 9.0.013.11 allows an attacker to execute arbitrary SQL queries via the ql_expression parameter, with which all data in the datab…
- 8.8CVE-2021-42760fortinet fortiwlmEPSS 1.0%
A improper neutralization of special elements used in an sql command ('sql injection') in Fortinet FortiWLM version 8.6.1 and below allows attacker to disclose sensitive information from DB tables via crafted requests.
- 7.2CVE-2021-40578online enrollment management system project online enrollment management systemEPSS 1.5%
Authenticated Blind & Error-based SQL injection vulnerability was discovered in Online Enrollment Management System in PHP and PayPal Free Source Code 1.0, that allows attackers to obtain sensitive information and execute arbitrary SQL com…
- 9.8CVE-2021-43789prestashopEPSS 4.7%
PrestaShop is an Open Source e-commerce web application. Versions of PrestaShop prior to 1.7.8.2 are vulnerable to blind SQL injection using search filters with `orderBy` and `sortOrder` parameters. The problem is fixed in version 1.7.8.2.
- 8.8CVE-2021-42131ivanti avalancheEPSS 67%
A SQL Injection vulnerability exists in Ivanti Avalance before 6.3.3 allows an attacker with access to the Inforail Service to perform privilege escalation.
- 9.8CVE-2021-29114esri arcgis serverEPSS 1.0%
A SQL injection vulnerability in feature services provided by Esri ArcGIS Server 10.9 and below allows a remote, unauthenticated attacker to impact the confidentiality, integrity and availability of targeted services via specifically craft…
- 9.8CVE-2021-31632b2evolution cmsEPSS 1.9%
b2evolution CMS v7.2.3 was discovered to contain a SQL injection vulnerability via the parameter cfqueryparam in the User login section. This vulnerability allows attackers to execute arbitrary code via a crafted input.
- 8.8CVE-2021-40313piwigoEPSS 1.1%
Piwigo v11.5 was discovered to contain a SQL injection vulnerability via the parameter pwg_token in /admin/batch_manager_global.php.
- 9.8CVE-2021-24943roundupwp registrations for the events calendarEPSS 7.3%
The Registrations for the Events Calendar WordPress plugin before 2.7.6 does not sanitise and escape the event_id in the rtec_send_unregister_link AJAX action (available to both unauthenticated and authenticated users) before using it in a…
- 9.8CVE-2021-24931ays-pro secure copy content protection and content lockingExploitEPSS 79%
The Secure Copy Content Protection and Content Locking WordPress plugin before 2.8.2 does not escape the sccp_id parameter of the ays_sccp_results_export_file AJAX action (available to both unauthenticated and authenticated users) before u…
- 9.8CVE-2021-24866wpdataaccess wp data accessEPSS 1.6%
The WP Data Access WordPress plugin before 5.0.0 does not properly sanitise and escape the backup_date parameter before using it a SQL statement, leading to a SQL injection issue and could allow arbitrary table deletion
- 9.8CVE-2021-43035kaseya unitrends backupEPSS 3.4%
An issue was discovered in Kaseya Unitrends Backup Appliance before 10.5.5. Two unauthenticated SQL injection vulnerabilities were discovered, allowing arbitrary SQL queries to be injected and executed under the postgres superuser account.…
- 9.8CVE-2021-35414chamilo lmsEPSS 1.9%
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload.php.
- 9.8CVE-2021-44349yejiao tuzicmsEPSS 1.1%
SQL Injection vulnerability exists in TuziCMS v2.0.6 via the id parameter in App\Manage\Controller\DownloadController.class.php.
- 9.8CVE-2021-44348yejiao tuzicmsEPSS 1.1%
SQL Injection vulnerability exists in TuziCMS v2.0.6 via the id parameer in App\Manage\Controller\AdvertController.class.php.
- 9.8CVE-2021-44347yejiao tuzicmsEPSS 1.1%
SQL Injection vulnerability exists in TuziCMS v2.0.6 in App\Manage\Controller\GuestbookController.class.php.
- 7.2CVE-2021-25784taogogo taocmsEPSS 1.1%
Taocms v2.5Beta5 was discovered to contain a blind SQL injection vulnerability via the function Edit Article.
- 7.2CVE-2021-25783taogogo taocmsEPSS 1.1%
Taocms v2.5Beta5 was discovered to contain a blind SQL injection vulnerability via the function Article Search.
- 6.5CVE-2021-44050broadcom ca network flow analysisEPSS 0.9%
CA Network Flow Analysis (NFA) 21.2.1 and earlier contain a SQL injection vulnerability in the NFA web application, due to insufficient input validation, that could potentially allow an authenticated user to access sensitive data.
- 9.8CVE-2021-43679shopex ecshopEPSS 1.6%
ecshop v2.7.3 is affected by a SQL injection vulnerability in shopex\ecshop\upload\api\client\api.php.
- 7.2CVE-2020-35012pixelite events managerEPSS 1.5%
The Events Manager WordPress plugin before 5.9.8 does not sanitise and escape a parameter before using it in a SQL statement, leading to an SQL Injection
- 9.8CVE-2021-43451phpgurukul employee record management systemEPSS 2.2%
SQL Injection vulnerability exists in PHPGURUKUL Employee Record Management System 1.2 via the Email POST parameter in /forgetpassword.php.