CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 33
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-25069w3eden download managerEPSS 1.5%
The Download Manager WordPress plugin before 3.2.34 does not sanitise and escape the package_ids parameter before using it in a SQL statement, leading to a SQL injection, which can also be exploited to cause a Reflected Cross-Site Scriptin…
- 8.8CVE-2021-44302baicloud-cms project baicloud-cmsEPSS 1.1%
BaiCloud-cms v2.5.7 was discovered to contain multiple SQL injection vulnerabilities via the tongji and baidu_map parameters in /user/ztconfig.php.
- 9.8CVE-2021-46110phpgurukul online shopping portalEPSS 1.1%
Online Shopping Portal v3.1 was discovered to contain multiple time-based SQL injection vulnerabilities via the email and contactno parameters.
- 7.5CVE-2022-21176airspanEPSS 1.1%
MMP: All versions prior to v1.0.3, PTP C-series: Device versions prior to v2.8.6.1, and PTMP C-series and A5x: Device versions prior to v2.5.4.1 does not properly sanitize user input, which may allow an attacker to perform a SQL injection …
- 7.2CVE-2020-8242expressionengineEPSS 0.9%
Unsanitized user input in ExpressionEngine <= 5.4.0 control panel member creation leads to an SQL injection. The user needs member creation/admin control panel access to execute the attack.
- 9.8CVE-2022-25322zerof web serverEPSS 9.3%
ZEROF Web Server 2.0 allows /HandleEvent SQL Injection.
- 9.8CVE-2021-44868mingsoft mcmsEPSS 4.8%
A problem was found in ming-soft MCMS v5.1. There is a sql injection vulnerability in /ms/cms/content/list.do
- 9.8CVE-2022-22881jeecg bootEPSS 1.4%
Jeecg-boot v3.0 was discovered to contain a SQL injection vulnerability via the code parameter in /sys/user/queryUserComponentData.
- 9.8CVE-2022-22880jeecg bootEPSS 1.4%
Jeecg-boot v3.0 was discovered to contain a SQL injection vulnerability via the code parameter in /jeecg-boot/sys/user/queryUserByDepId.
- 9.8CVE-2021-3242duxcms project duxcmsEPSS 1.2%
DuxCMS v3.1.3 was discovered to contain a SQL injection vulnerability via the component s/tools/SendTpl/index?keyword=.
- 7.5CVE-2022-0513veronalabs wp statisticsEPSS 53%
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the exclusion_reason parameter found in the ~/includes/class-wp-statistics-exclusion.php file which allows attackers wit…
- 4.9CVE-2021-4134radykal fancy product designerEPSS 1.4%
The Fancy Product Designer WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the ID parameter found in the ~/inc/api/class-view.php file which allows attackers with administrative level pe…
- 9.8CVE-2022-23358easycmsEPSS 1.2%
EasyCMS v1.6 allows for SQL injection via ArticlemAction.class.php. In the background, search terms provided by the user were not sanitized and were used directly to construct a SQL statement.
- 7.5CVE-2022-24226phpgurukul hospital management systemEPSS 1.7%
Hospital Management System v4.0 was discovered to contain a blind SQL injection vulnerability via the register function in func2.php.
- 9.8CVE-2022-24206tongda2000 tongda office anywhereEPSS 1.2%
Tongda2000 v11.10 was discovered to contain a SQL injection vulnerability in /mobile_seal/get_seal.php via the DEVICE_LIST parameter.
- 9.8CVE-2022-23902tongda2000 tongda office anywhereEPSS 1.2%
Tongda2000 v11.10 was discovered to contain a SQL injection vulnerability in export_data.php via the d_name parameter.
- 9.8CVE-2022-23337dedecmsEPSS 2.2%
DedeCMS v5.7.87 was discovered to contain a SQL injection vulnerability in article_coonepage_rule.php via the ids parameter.
- 9.8CVE-2022-23336s-cmsEPSS 1.1%
S-CMS v5.0 was discovered to contain a SQL injection vulnerability in member_pay.php via the O_id parameter.
- 9.8CVE-2022-23335metinfoEPSS 1.6%
Metinfo v7.5.0 was discovered to contain a SQL injection vulnerability in language_general.class.php via doModifyParameter.
- 9.8CVE-2022-22295metinfoEPSS 1.6%
Metinfo v7.5.0 was discovered to contain a SQL injection vulnerability in parameter_admin.class.php via the table_para parameter.
- 8.8CVE-2022-0190acnam ad invalid click protectorEPSS 1.3%
The Ad Invalid Click Protector (AICP) WordPress plugin before 1.2.6 is affected by a SQL Injection in the id parameter of the delete action.
- 2.7CVE-2021-25109futuriowp futurio extraEPSS 0.8%
The Futurio Extra WordPress plugin before 1.6.3 is affected by a SQL Injection vulnerability that could be used by high privilege users to extract data from the database as well as used to perform Cross-Site Scripting (XSS) against logged …
- 9.8CVE-2021-34235tsg-solutions tokheim profleet dialogEPSS 1.9%
Tokheim Profleet DiaLOG 11.005.02 is affected by SQL Injection. The component is the Field__UserLogin parameter on the logon page.
- 7.5CVE-2022-24646phpgurukul hospital management systemEPSS 1.7%
Hospital Management System v4.0 was discovered to contain a SQL injection vulnerability in /Hospital-Management-System-master/contact.php via the txtMsg parameters.
- 7.5CVE-2022-22540sap netweaver application server abapEPSS 1.2%
SAP NetWeaver AS ABAP (Workplace Server) - versions 700, 701, 702, 731, 740, 750, 751, 752, 753, 754, 755, 756, 787, allows an attacker to execute crafted database queries, that could expose the backend database. Successful attacks could r…
- 9.8CVE-2021-25114strangerstudios paid memberships proEPSS 82%
The Paid Memberships Pro WordPress plugin before 2.6.7 does not escape the discount_code in one of its REST route (available to unauthenticated users) before using it in a SQL statement, leading to a SQL injection
- 6.5CVE-2021-24928rearrange woocommerce products project rearrange woocommerce productsEPSS 0.9%
The Rearrange Woocommerce Products WordPress plugin before 3.0.8 does not have proper access controls in the save_all_order AJAX action, nor validation and escaping when inserting user data in SQL statement, leading to an SQL injection, an…
- 9.8CVE-2021-43927synology diskstation managerEPSS 0.9%
Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in Security Management functionality in Synology DiskStation Manager (DSM) before 7.0.1-42218-2 allows remote attackers to inject SQL comman…
- 9.8CVE-2021-43926synology diskstation managerEPSS 0.9%
Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in Log Management functionality in Synology DiskStation Manager (DSM) before 7.0.1-42218-2 allows remote attackers to inject SQL commands vi…
- 9.8CVE-2021-43925synology diskstation managerEPSS 0.9%
Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in Log Management functionality in Synology DiskStation Manager (DSM) before 7.0.1-42218-2 allows remote attackers to inject SQL commands vi…
- 9.8CVE-2022-23379emlogEPSS 1.4%
Emlog v6.0 was discovered to contain a SQL injection vulnerability via the $TagID parameter of getblogidsfromtagid().
- 9.8CVE-2021-44779\[gwa\] autoresponder project \[gwa\] autoresponderEPSS 1.1%
Unauthenticated SQL Injection (SQLi) vulnerability discovered in [GWA] AutoResponder WordPress plugin (versions <= 2.3), vulnerable at (&listid). No patched version available, plugin closed.
- 9.8CVE-2022-24260voipmonitorEPSS 50%
A SQL injection vulnerability in Voipmonitor GUI before v24.96 allows attackers to escalate privileges to the Administrator level.
- 7.5CVE-2021-44866projectworlds online movie ticket booking systemEPSS 1.0%
An issue was discovered in Online-Movie-Ticket-Booking-System 1.0. The file about.php does not perform input validation on the 'id' paramter. An attacker can append SQL queries to the input to extract sensitive information from the databas…
- 7.5CVE-2022-24121unifiedoffice total connect nowEPSS 1.3%
SQL Injection vulnerability discovered in Unified Office Total Connect Now that would allow an attacker to extract sensitive information through a cookie parameter.
- 8.8CVE-2022-23873victor cms project victor cmsEPSS 1.3%
Victor CMS v1.0 was discovered to contain a SQL injection vulnerability that allows attackers to inject arbitrary commands via 'user_firstname' parameter.
- 5.3CVE-2021-42633printerlogic web stackEPSS 2.0%
PrinterLogic Web Stack versions 19.1.1.13 SP9 and below are vulnerable to SQL Injection, which may allow an attacker to access additional audit records.
- 8.8CVE-2022-0366capsule8EPSS 1.0%
An authenticated and authorized agent user could potentially gain administrative access via an SQLi vulnerability to Capsule8 Console between versions 4.6.0 and 4.9.1.
- 9.8CVE-2022-24223thedigitalcraft atomcmsExploitEPSS 62%
AtomCMS v2.0 was discovered to contain a SQL injection vulnerability via /admin/login.php.
- 9.8CVE-2022-24222elitecms elite cmsEPSS 1.1%
eliteCMS v1.0 was discovered to contain a SQL injection vulnerability via /admin/edit_user.php.
- 9.8CVE-2022-24221elitecms elite cmsEPSS 1.1%
eliteCMS v1.0 was discovered to contain a SQL injection vulnerability via /admin/functions/functions.php.
- 9.8CVE-2022-24220elitecms elite cmsEPSS 1.1%
eliteCMS v1.0 was discovered to contain a SQL injection vulnerability via /admin/edit_post.php.
- 9.8CVE-2022-24219elitecms elite cmsEPSS 1.1%
eliteCMS v1.0 was discovered to contain a SQL injection vulnerability via /admin/edit_page.php.
- 9.8CVE-2021-43510simple client management system project simple client management systemEPSS 7.5%
SQL Injection vulnerability exists in Sourcecodester Simple Client Management System 1.0 via the username field in login.php.
- 9.8CVE-2021-43509simple client management system project simple client management systemEPSS 1.8%
SQL Injection vulnerability exists in Sourcecodester Simple Client Management System 1.0 via the id parameter in view-service.php.
- 8.8CVE-2021-24919wickedplugins wicked foldersEPSS 1.5%
The Wicked Folders WordPress plugin before 2.8.10 does not sanitise and escape the folder_id parameter before using it in a SQL statement in the wicked_folders_save_sort_order AJAX action, available to any authenticated user. leading to an…
- 9.8CVE-2021-24762getperfectsurvey perfect surveyExploitEPSS 87%
The Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.
- 7.5CVE-2022-24266cuppacmsEPSS 5.7%
Cuppa CMS v1.0 was discovered to contain a SQL injection vulnerability in /administrator/components/table_manager/ via the order_by parameter.
- 7.5CVE-2022-24265cuppacmsEPSS 6.7%
Cuppa CMS v1.0 was discovered to contain a SQL injection vulnerability in /administrator/components/menu/ via the path=component/menu/&menu_filter=3 parameter.
- 7.5CVE-2022-24264cuppacmsEPSS 6.7%
Cuppa CMS v1.0 was discovered to contain a SQL injection vulnerability in /administrator/components/table_manager/ via the search_word parameter.