CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 7
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-35212solarwinds orion platformEPSS 1.6%
An SQL injection Privilege Escalation Vulnerability was discovered in the Orion Platform reported by the ZDI Team. A blind Boolean SQL injection which could lead to full read/write over the Orion database content including the Orion certif…
- 9.8CVE-2021-38145formtools coreEPSS 2.2%
An issue was discovered in Form Tools through 3.0.20. SQL Injection can occur via the export_group_id field when a low-privileged user (client) tries to export a form with data, e.g., manipulation of modules/export_manager/export.php?expor…
- 9.8CVE-2021-38393deltaww diaenergieEPSS 18%
A Blind SQL injection vulnerability exists in the /DataHandler/HandlerAlarmGroup.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5 and prior. The application does not properly validate the user-controlled value supplied through t…
- 9.8CVE-2021-38391deltaww diaenergieEPSS 3.5%
A Blind SQL injection vulnerability exists in the /DataHandler/AM/AM_Handler.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5 and prior. The application does not properly validate the user-controlled value supplied through the p…
- 9.8CVE-2021-38390deltaww diaenergieEPSS 20%
A Blind SQL injection vulnerability exists in the /DataHandler/HandlerEnergyType.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5 and prior. The application does not properly validate the user-controlled value supplied through t…
- 9.8CVE-2021-32983deltaww diaenergieEPSS 3.9%
A Blind SQL injection vulnerability exists in the /DataHandler/Handler_CFG.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5 and prior. The application does not properly validate the user-controlled value supplied through the par…
- 8.8CVE-2021-24580wow-estore side menuEPSS 1.4%
The Side Menu Lite WordPress plugin before 2.2.6 does not sanitise user input from the List page in the admin dashboard before using it in SQL statement, leading to a SQL Injection issue
- 9.8CVE-2021-37749hexagongeospatial geomedia webmapEPSS 1.8%
MapService.svc in Hexagon GeoMedia WebMap 2020 before Update 2 (aka 16.6.2.66) allows blind SQL Injection via the Id (within sourceItems) parameter to the GetMap method.
- 8.8CVE-2020-18116youdiancmsEPSS 1.1%
A lack of filtering for searched keywords in the search bar of YouDianCMS 8.0 allows attackers to perform SQL injection.
- 9.8CVE-2020-18106wms project wmsEPSS 1.0%
The GET parameter "id" in WMS v1.0 is passed without filtering, which allows attackers to perform SQL injection.
- 7.2CVE-2021-3264cxuu cxuucmsEPSS 0.9%
SQL Injection vulnerability in cxuucms 3.1 ivia the pid parameter in public/admin.php.
- 9.8CVE-2020-20675nuishopEPSS 1.1%
Nuishop v2.3 contains a SQL injection vulnerability in /goods/getGoodsListByConditions/.
- 6.5CVE-2021-39165chachethq cachetEPSS 8.2%
Cachet is an open source status page. With Cachet prior to and including 2.3.18, there is a SQL injection which is in the `SearchableTrait#scopeSearch()`. Attackers without authentication can utilize this vulnerability to exfiltrate sensit…
- 8.8CVE-2020-18477hucartEPSS 0.9%
SQL Injection vulnerability in Hucart CMS 5.7.4 via the purchase enquiry field found in the Message con_content field.
- 8.8CVE-2020-18476hucartEPSS 0.9%
SQL Injection vulnerability in Hucart CMS 5.7.4 via the basic information field found in the avatar usd_image field.
- 8.8CVE-2020-19821wdoyo doyocmsEPSS 0.9%
A SQL injection vulnerability in admin.php of DOYOCMS 2.3 allows attackers to execute arbitrary SQL commands via the orders[] parameter.
- 9.8CVE-2020-19705thinkphp-zcms project thinkphp-zcmsEPSS 1.0%
thinkphp-zcms as of 20190715 allows SQL injection via index.php?m=home&c=message&a=add.
- 7.5CVE-2020-18913ecisp espcms-p8EPSS 1.3%
EARCLINK ESPCMS-P8 was discovered to contain a SQL injection vulnerability in the espcms_web/Search.php component via the attr_array parameter. This vulnerability allows attackers to access sensitive database information.
- 8.8CVE-2021-39376philips tasy electronic medical recordEPSS 1.2%
Philips Healthcare Tasy Electronic Medical Record (EMR) 3.06 allows SQL injection via the CorCad_F2/executaConsultaEspecifico IE_CORPO_ASSIST or CD_USUARIO_CONVENIO parameter.
- 8.8CVE-2021-39375philips tasy electronic medical recordEPSS 1.2%
Philips Healthcare Tasy Electronic Medical Record (EMR) 3.06 allows SQL injection via the WAdvancedFilter/getDimensionItemsByCode FilterValue parameter.
- 9.8CVE-2021-37538smartdatasoft smartblogEPSS 74%
Multiple SQL injection vulnerabilities in SmartDataSoft SmartBlog for PrestaShop before 4.06 allow a remote unauthenticated attacker to execute arbitrary SQL commands via the day, month, or year parameter to the controllers/front/archive.p…
- 9.8CVE-2021-36385cerner mobile careEPSS 2.7%
A SQL Injection vulnerability in Cerner Mobile Care 5.0.0 allows remote unauthenticated attackers to execute arbitrary SQL commands via a Fullwidth Apostrophe (aka U+FF07) in the default.aspx User ID field. Arbitrary system commands can be…
- 7.2CVE-2021-24557nimble3 m-vsliderEPSS 1.5%
The update functionality in the rslider_page uses an rs_id POST parameter which is not validated, sanitised or escaped before being inserted in sql query, therefore leading to SQL injection for users having Administrator role.
- 8.8CVE-2021-24555roosty diary-availability-calendarEPSS 0.8%
The daac_delete_booking_callback function, hooked to the daac_delete_booking AJAX action, takes the id POST parameter which is passed into the SQL statement without proper sanitisation, validation or escaping, leading to a SQL Injection is…
- 7.2CVE-2021-24554freelancetoindia paytm-payEPSS 6.6%
The Paytm – Donation Plugin WordPress plugin through 1.3.2 does not sanitise, validate or escape the id GET parameter before using it in a SQL statement when deleting donations, leading to an authenticated SQL injection issue
- 7.2CVE-2021-24553timeline calendar project timeline calendarEPSS 1.6%
The Timeline Calendar WordPress plugin through 1.2 does not sanitise, validate or escape the edit GET parameter before using it in a SQL statement when editing events, leading to an authenticated SQL injection issue. Other SQL Injections a…
- 7.2CVE-2021-24552simple events calendar project simple events calendarEPSS 1.6%
The Simple Events Calendar WordPress plugin through 1.4.0 does not sanitise, validate or escape the event_id POST parameter before using it in a SQL statement when deleting events, leading to an authenticated SQL injection issue
- 9.8CVE-2021-24551edit comments project edit commentsEPSS 1.9%
The Edit Comments WordPress plugin through 0.3 does not sanitise, validate or escape the jal_edit_comments GET parameter before using it in a SQL statement, leading to a SQL injection issue
- 7.2CVE-2021-24550broken link manager project broken link managerEPSS 1.6%
The Broken Link Manager WordPress plugin through 0.6.5 does not sanitise, validate or escape the url GET parameter before using it in a SQL statement when retrieving an URL to edit, leading to an authenticated SQL injection issue
- 8.8CVE-2021-24506quantumcloud slider heroEPSS 1.4%
The Slider Hero with Animation, Video Background & Intro Maker WordPress plugin before 8.2.7 does not sanitise or escape the id attribute of its hero-button shortcode before using it in a SQL statement, allowing users with a role as low as…
- 7.2CVE-2021-24497satollo giveawayEPSS 1.3%
The Giveaway WordPress plugin through 1.2.2 is vulnerable to an SQL Injection issue which allows an administrative user to execute arbitrary SQL commands via the $post_id on the options.php page.
- 7.5CVE-2021-36748prestahome blogEPSS 15%
A SQL Injection issue in the list controller of the Prestahome Blog (aka ph_simpleblog) module before 1.7.8 for Prestashop allows a remote attacker to extract data from the database via the sb_category parameter.
- 7.5CVE-2020-18877wuzhicmsEPSS 1.5%
SQL Injection in Wuzhi CMS v4.1.0 allows remote attackers to obtain sensitive information via the 'flag' parameter in the component '/coreframe/app/order/admin/index.php'.
- 9.8CVE-2021-39302misp-project mispEPSS 0.9%
MISP 2.4.148, in certain configurations, allows SQL injection via the app/Model/Log.php $conditions['org'] value.
- 4.9CVE-2021-27999local services search engine management system project local services search engine management systemEPSS 0.8%
A SQL injection vulnerability was discovered in the editid parameter in Local Services Search Engine Management System Project 1.0. This vulnerability gives admin users the ability to dump all data from the database.
- 7.5CVE-2020-22122find a place ljcms project find a place ljcmsEPSS 1.3%
A SQL injection vulnerability in /oa.php?c=Staff&a=read of Find a Place LJCMS v 1.3 allows attackers to access sensitive database information via a crafted POST request.
- 9.8CVE-2021-37358seacmsEPSS 2.3%
SQL Injection in SEACMS v210530 (2021-05-30) allows remote attackers to execute arbitrary code via the component "admin_ajax.php?action=checkrepeat&v_name=".
- 7.2CVE-2020-18746aitecmsEPSS 1.8%
SQL Injection in AiteCMS v1.0 allows remote attackers to execute arbitrary code via the component "aitecms/login/diy_list.php".
- 9.8CVE-2020-18164tp-shopEPSS 1.1%
SQL Injection vulnerability exists in tp-shop 2.x-3.x via the /index.php/home/api/shop fBill parameter.
- 8.8CVE-2020-13589rukovoditelEPSS 1.0%
An exploitable SQL injection vulnerability exists in the ‘entities/fields’ page of the Rukovoditel Project Management App 2.7.2. The entities_id parameter in the 'entities/fields page (mulitple_edit or copy_selected or export function) is …
- 8.8CVE-2020-13588rukovoditelEPSS 1.0%
An exploitable SQL injection vulnerability exists in the ‘entities/fields’ page of the Rukovoditel Project Management App 2.7.2. The heading_field_id parameter in ‘‘entities/fields’ page is vulnerable to authenticated SQL injection. An att…
- 9.8CVE-2021-38754hospital management system project hospital management systemEPSS 1.8%
SQL Injection vulnerability in Hospital Management System due to lack of input validation in messearch.php.
- 9.8CVE-2021-38302newsletter project newsletterEPSS 1.0%
The Newsletter extension through 4.0.0 for TYPO3 allows SQL Injection.
- 9.8CVE-2021-36789dated news project dated newsEPSS 1.0%
The dated_news (aka Dated News) extension through 5.1.1 for TYPO3 allows SQL Injection.
- 9.8CVE-2021-37350nagios xiEPSS 79%
Nagios XI before version 5.8.5 is vulnerable to SQL injection vulnerability in Bulk Modifications Tool due to improper input sanitisation.
- 9.8CVE-2021-28890j2eefastEPSS 1.3%
J2eeFAST 2.2.1 allows remote attackers to perform SQL injection via the (1) compId parameter to fast/sys/user/list, (2) deptId parameter to fast/sys/role/list, or (3) roleId parameter to fast/sys/role/authUser/list, related to the use of $…
- 9.8CVE-2021-37599nuance winscribe dictationEPSS 3.0%
The exporter/Login.aspx login form in the Exporter in Nuance Winscribe Dictation 4.1.0.99 is vulnerable to SQL injection that allows a remote, unauthenticated attacker to read the database (and execute code in some situations) via the txtP…
- 7.5CVE-2020-20981metinfoEPSS 1.4%
A SQL injection in the /admin/?n=logs&c=index&a=dolist component of Metinfo 7.0 allows attackers to access sensitive database information.
- 9.8CVE-2020-20975gxlcmsEPSS 1.3%
In \lib\admin\action\dataaction.class.php in Gxlcms v1.1, SQL Injection exists via the $filename parameter.
- 9.8CVE-2021-38574foxitsoftwareEPSS 1.0%
An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4. It allows SQL Injection via crafted data at the end of a string.