CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, 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
- 8.8CVE-2022-38616bpcbt smartvista front-endEPSS 0.9%
SmartVista SVFE2 v2.2.22 was discovered to contain a SQL injection vulnerability via the UserForm:j_id90 parameter at /feegroups/tgrt_group.jsf.
- 7.2CVE-2022-38304online leave management system project online leave management systemEPSS 1.0%
Online Leave Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /maintenance/manage_leave_type.php.
- 7.2CVE-2022-38303online leave management system project online leave management systemEPSS 1.0%
Online Leave Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /employees/manage_leave_type.php.
- 7.2CVE-2022-38302online leave management system project online leave management systemEPSS 1.0%
Online Leave Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /maintenance/manage_department.php.
- 7.2CVE-2022-38610garage management system project garage management systemEPSS 1.0%
Garage Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /garage/editclient.php.
- 7.2CVE-2022-38606garage management system project garage management systemEPSS 1.0%
Garage Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /garage/editcategory.php.
- 7.2CVE-2022-38605church management system project church management systemEPSS 1.0%
Church Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/edit_event.php.
- 7.5CVE-2022-36259inventorymanagementsystem project inventorymanagementsystemEPSS 1.2%
A SQL injection vulnerability in ConnectionFactory.java in sazanrjb InventoryManagementSystem 1.0 allows attackers to execute arbitrary SQL commands via the parameters such as "username", "password", etc.
- 7.5CVE-2022-36258inventorymanagementsystem project inventorymanagementsystemEPSS 1.1%
A SQL injection vulnerability in CustomerDAO.java in sazanrjb InventoryManagementSystem 1.0 allows attackers to execute arbitrary SQL commands via the parameters such as "searchTxt".
- 7.5CVE-2022-36257inventorymanagementsystem project inventorymanagementsystemEPSS 1.1%
A SQL injection vulnerability in UserDAO.java in sazanrjb InventoryManagementSystem 1.0 allows attackers to execute arbitrary SQL commands via the parameters such as "users", "pass", etc.
- 7.5CVE-2022-36256inventorymanagementsystem project inventorymanagementsystemEPSS 1.1%
A SQL injection vulnerability in Stocks.java in sazanrjb InventoryManagementSystem 1.0 allows attackers to execute arbitrary SQL commands via the parameters such as "productcode".
- 7.5CVE-2022-36255inventorymanagementsystem project inventorymanagementsystemEPSS 1.1%
A SQL injection vulnerability in SupplierDAO.java in sazanrjb InventoryManagementSystem 1.0 allows attackers to execute arbitrary SQL commands via the parameters such as "searchTxt".
- 9.8CVE-2022-37794library management system project library management systemEPSS 1.1%
In Library Management System 1.0 the /card/in-card.php file id_no parameters are vulnerable to SQL injection.
- 9.8CVE-2021-44835aivhub active intelligence visualizationEPSS 1.3%
An issue was discovered in Active Intelligent Visualization 5. The Vdc header is used in a SQL query without being sanitized. This causes SQL injection.
- 8.8CVE-2022-38615bpcbt smartvista front-endEPSS 0.9%
SmartVista SVFE2 v2.2.22 was discovered to contain multiple SQL injection vulnerabilities via the UserForm:j_id88, UserForm:j_id90, and UserForm:j_id92 parameters at /SVFE2/pages/feegroups/service_group.jsf.
- 7.2CVE-2022-38286jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /system/role/list.
- 7.2CVE-2022-38285jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /system/menu/list.
- 7.2CVE-2022-38284jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /system/department/list.
- 7.2CVE-2022-38283jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/video/list.
- 7.2CVE-2022-38282jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/videoalbum/list.
- 7.2CVE-2022-38281jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/site/list.
- 7.2CVE-2022-38280jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/image/list.
- 7.2CVE-2022-38279jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/imagealbum/list.
- 7.2CVE-2022-38278jflyfox jfinal cmsEPSS 1.2%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/friendlylink/list.
- 7.2CVE-2022-38277jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/folderrollpicture/list.
- 7.2CVE-2022-38276jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/foldernotice/list.
- 7.2CVE-2022-38275jflyfox jfinal cmsEPSS 1.2%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/contact/list.
- 7.2CVE-2022-38274jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/comment/list.
- 7.2CVE-2022-38273jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/article/list_approve.
- 7.2CVE-2022-38272jflyfox jfinal cmsEPSS 1.1%
JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/article/list.
- 7.2CVE-2022-38269school activity updates with sms notification project school activity updates with sms notificationEPSS 0.9%
School Activity Updates with SMS Notification v1.0 was discovered to contain a SQL injection vulnerability via the component /modules/modstudent/index.php?view=edit&id=.
- 7.2CVE-2022-38268school activity updates with sms notification project school activity updates with sms notificationEPSS 0.9%
School Activity Updates with SMS Notification v1.0 was discovered to contain a SQL injection vulnerability via the component /modules/autonumber/index.php?view=edit&id=.
- 7.2CVE-2022-38267school activity updates with sms notification project school activity updates with sms notificationEPSS 0.9%
School Activity Updates with SMS Notification v1.0 was discovered to contain a SQL injection vulnerability via the component /modules/user/index.php?view=edit&id=.
- 7.2CVE-2022-38265apartment visitor management system project apartment visitor management systemEPSS 0.9%
Apartment Visitor Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter at /avms/edit-apartment.php.
- 7.2CVE-2022-38260janobe interview management systemEPSS 1.0%
Interview Management System v1.0 was discovered to contain a SQL injection vulnerability via the component /interview/delete.php?action=questiondelete&id=.
- 7.2CVE-2022-38255janobe interview management systemEPSS 1.0%
Interview Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /interview/editQuestion.php.
- 9.8CVE-2022-38250nagios xiEPSS 3.0%
Nagios XI v5.8.6 was discovered to contain a SQL injection vulnerability via the mib_name parameter at the Manage MIBs page.
- 9.8CVE-2022-3130online driving school project project online driving school projectEPSS 1.0%
A vulnerability classified as critical has been found in codeprojects Online Driving School. This affects an unknown part of the file /login.php. The manipulation of the argument username leads to sql injection. It is possible to initiate …
- 7.2CVE-2022-1807sophos firewallEPSS 1.2%
Multiple SQLi vulnerabilities in Webadmin allow for privilege escalation from admin to super-admin in Sophos Firewall older than version 18.5 MR4 and version 19.0 MR1.
- 7.5CVE-2022-37185ems project emsEPSS 0.9%
SQL injection vulnerability exists in the school information query interface (repschoolproj.php) of the EMS 6.2 system of the Office of the Thai Basic Education Commission, which can lead to data leakage.
- 4.9CVE-2022-2718beardev joomsportEPSS 1.5%
The JoomSport – for Sports: Team & League, Football, Hockey & more plugin for WordPress is vulnerable to SQL Injection via the 'orderby' parameter on the joomsport-page-extrafields page in versions up to, and including, 5.2.5 due to insuff…
- 4.9CVE-2022-2717beardev joomsportEPSS 1.5%
The JoomSport – for Sports: Team & League, Football, Hockey & more plugin for WordPress is vulnerable to SQL Injection via the 'orderby' parameter on the joomsport-events-form page in versions up to, and including, 5.2.5 due to insufficien…
- 7.8CVE-2022-29058fortinetEPSS 0.5%
An improper neutralization of special elements [CWE-89] used in an OS command vulnerability [CWE-78] in the command line interpreter of FortiAP 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0, FortiAP-S 6.0.0 through 6.4.7, FortiAP-W2 6.0.…
- 9.8CVE-2022-3122oretnom23 clinic\'s patient management systemEPSS 0.8%
A vulnerability was found in SourceCodester Clinics Patient Management System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file medicine_details.php. The manipulation of the argument medic…
- 9.8CVE-2022-3120oretnom23 clinic\'s patient management systemEPSS 0.8%
A vulnerability classified as critical was found in SourceCodester Clinics Patient Management System. Affected by this vulnerability is an unknown functionality of the file index.php of the component Login. The manipulation of the argument…
- 9.8CVE-2022-3118erp system project project erp system projectEPSS 0.9%
A vulnerability was found in Sourcecodehero ERP System Project. It has been rated as critical. This issue affects some unknown processing of the file /pages/processlogin.php. The manipulation of the argument user leads to sql injection. Th…
- 7.2CVE-2022-36754oretnom23 expense management systemEPSS 0.9%
Expense Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /Home/debit_credit_p.
- 9.8CVE-2020-22669EPSS 1.5%
Modsecurity owasp-modsecurity-crs 3.2.0 (Paranoia level at PL1) has a SQL injection bypass vulnerability. Attackers can use the comment characters and variable assignments in the SQL syntax to bypass Modsecurity WAF protection and implemen…
- 8.8CVE-2022-36636garage management system project garage management systemEPSS 1.1%
Garage Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /print.php.
- 9.8CVE-2022-36609oretnom23 clinic\'s patient management systemEPSS 0.8%
Clinic's Patient Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /pms/update_patient.php.