CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, 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
- 7.2CVE-2022-34022resiot iot platform and lorawan network serverEPSS 1.0%
SQL injection vulnerability in ResIOT IOT Platform + LoRaWAN Network Server through 4.1.1000114 via a crafted POST request to /ResiotQueryDBActive.
- 8.8CVE-2022-37208jflyfox jfinal cmsEPSS 1.5%
JFinal CMS 5.1.0 is vulnerable to SQL Injection. These interfaces do not use the same component, nor do they have filters, but each uses its own SQL concatenation method, resulting in SQL injection.
- 6.5CVE-2022-3473oretnom23 human resource management systemEPSS 0.7%
A vulnerability classified as critical has been found in SourceCodester Human Resource Management System. This affects an unknown part of the file getstatecity.php. The manipulation of the argument ci leads to sql injection. It is possible…
- 4.9CVE-2022-3472oretnom23 human resource management systemEPSS 0.6%
A vulnerability was found in SourceCodester Human Resource Management System. It has been rated as critical. Affected by this issue is some unknown functionality of the file city.php. The manipulation of the argument cityedit leads to sql …
- 4.9CVE-2022-3471oretnom23 human resource management systemEPSS 0.6%
A vulnerability was found in SourceCodester Human Resource Management System. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file city.php. The manipulation of the argument searccity lea…
- 6.5CVE-2022-3470oretnom23 human resource management systemEPSS 0.6%
A vulnerability was found in SourceCodester Human Resource Management System. It has been classified as critical. Affected is an unknown function of the file getstatecity.php. The manipulation of the argument sc leads to sql injection. It …
- 9.8CVE-2022-41403newsletter subscribe \(popup \+ regular module\) project newsletter subscribe \(popup \+ regular module\)EPSS 1.3%
OpenCart 3.x Newsletter Custom Popup was discovered to contain a SQL injection vulnerability via the email parameter at index.php?route=extension/module/so_newletter_custom_popup/newsletter.
- 7.2CVE-2022-41532open source sacco management system project open source sacco management systemEPSS 1.0%
Open Source SACCO Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /sacco_shield/ajax.php?action=delete_plan.
- 7.2CVE-2022-41530open source sacco management system project open source sacco management systemEPSS 1.0%
Open Source SACCO Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /sacco_shield/ajax.php?action=delete_borrower.
- 9.8CVE-2022-41408online pet shop we app project online pet shop we appEPSS 0.8%
Online Pet Shop We App v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/?page=orders/view_order.
- 7.2CVE-2022-41407online pet shop we app project online pet shop we appEPSS 1.0%
Online Pet Shop We App v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/?page=orders/view_order.
- 5.5CVE-2022-20351google androidEPSS 0.1%
In queryInternal of CallLogProvider.java, there is a possible access to voicemail information due to SQL injection. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not nee…
- 7.2CVE-2022-42230simple cold storage management system project simple cold storage managment systemEPSS 0.8%
Simple Cold Storage Management System v1.0 is vulnerable to SQL Injection via /csms/admin/?page=user/manage_user&id=.
- 8.8CVE-2022-36635zkteco zkbiosecurity v5000EPSS 17%
ZKteco ZKBioSecurity V5000 4.1.3 was discovered to contain a SQL injection vulnerability via the component /baseOpLog.do.
- 7.2CVE-2022-42074online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 is vulnerable to SQL Injection via /diagnostic/editcategory.php?id=.
- 7.2CVE-2022-42073online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 is vulnerable to SQL Injection via /diagnostic/editclient.php?id=.
- 7.2CVE-2022-41378online pet shop we app project online pet shop we appEPSS 0.9%
Online Pet Shop We App v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /pet_shop/admin/?page=inventory/manage_inventory.
- 7.2CVE-2022-41377online pet shop we app project online pet shop we appEPSS 0.9%
Online Pet Shop We App v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /pet_shop/admin/?page=maintenance/manage_category.
- 7.2CVE-2022-41515open source sacco management system project open source sacco management systemEPSS 0.9%
Open Source SACCO Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /sacco_shield/ajax.php?action=delete_payment.
- 7.2CVE-2022-41514open source sacco management system project open source sacco management systemEPSS 0.9%
Open Source SACCO Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /sacco_shield/ajax.php?action=delete_loan.
- 7.2CVE-2022-41513online diagnostic lab management system project online diagnostic lab management systemEPSS 0.9%
Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /diagnostic/edittest.php.
- 9.8CVE-2022-40872simple e-learning system project simple e-learning systemEPSS 1.2%
An SQL injection vulnerability issue was discovered in Sourcecodester Simple E-Learning System 1.0., in /vcs/classRoom.php?classCode=, classCode.
- 9.8CVE-2022-40835codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php. Note: Multiple third parties have disputed this as not a valid vulnerability
- 9.8CVE-2022-40834codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_not_like() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40833codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_where_in() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40832codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php having() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40831codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php like() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40830codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php where_not_in() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40829codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_like() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40828codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_where_not_in() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40827codeigniterEPSS 1.0%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php where() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40826codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_having() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40825codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php where_in() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 9.8CVE-2022-40824codeigniterEPSS 1.1%
B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_where() function. Note: Multiple third parties have disputed this as not a valid vulnerability.
- 7.2CVE-2022-41355online 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 /leave_system/classes/Master.php?f=delete_department.
- 7.2CVE-2022-42250oretnom23 simple cold storage management systemEPSS 1.0%
Simple Cold Storage Management System v1.0 is vulnerable to SQL injection via /csms/admin/inquiries/view_details.php?id=.
- 7.2CVE-2022-42249oretnom23 simple cold storage management systemEPSS 1.0%
Simple Cold Storage Management System v1.0 is vulnerable to SQL injection via /csms/admin/storages/view_storage.php?id=.
- 7.2CVE-2022-42243oretnom23 simple cold storage management systemEPSS 1.0%
Simple Cold Storage Management System v1.0 is vulnerable to SQL injection via /csms/admin/storages/manage_storage.php?id=.
- 7.2CVE-2022-42242oretnom23 simple cold storage management systemEPSS 1.0%
Simple Cold Storage Management System v1.0 is vulnerable to SQL injection via /csms/classes/Master.php?f=delete_booking.
- 7.2CVE-2022-42241oretnom23 simple cold storage management systemEPSS 1.0%
Simple Cold Storage Management System v1.0 is vulnerable to SQL injection via /csms/classes/Master.php?f=delete_message.
- 9.8CVE-2022-42304veritas netbackupEPSS 0.6%
An issue was discovered in Veritas NetBackup through 10.0 and related Veritas products. The NetBackup Primary server is vulnerable to a SQL Injection attack affecting idm, nbars, and SLP manager code.
- 9.8CVE-2022-42303veritas netbackupEPSS 0.6%
An issue was discovered in Veritas NetBackup through 10.0 and related Veritas products. The NetBackup Primary server is vulnerable to a second-order SQL Injection attack affecting the NBFSMCLIENT service by leveraging CVE-2022-42302.
- 9.8CVE-2022-42302veritas netbackupEPSS 0.6%
An issue was discovered in Veritas NetBackup through 10.0 and related Veritas products. The NetBackup Primary server is vulnerable to a SQL Injection attack affecting the NBFSMCLIENT service.
- 9.8CVE-2022-40943phpgurukul dairy farm shop management systemEPSS 1.5%
Dairy Farm Shop Management System 1.0 is vulnerable to SQL Injection via bwdate-report-ds.php file.
- 9.8CVE-2022-35156phpgurukul bus pass management systemEPSS 1.4%
Bus Pass Management System 1.0 was discovered to contain a SQL Injection vulnerability via the searchdata parameter at /buspassms/download-pass.php..
- 9.8CVE-2022-40944phpgurukul dairy farm shop management systemEPSS 1.5%
Dairy Farm Shop Management System 1.0 is vulnerable to SQL Injection via sales-report-ds.php file.
- 9.8CVE-2022-40315EPSS 1.1%
A limited SQL injection risk was identified in the "browse list of users" site administration page.
- 8.8CVE-2022-36961solarwinds orion platformEPSS 74%
A vulnerable component of Orion Platform was vulnerable to SQL Injection, an authenticated attacker could leverage this for privilege escalation or remote code execution.
- 7.2CVE-2022-41440billing system project project billing system projectEPSS 0.9%
Billing System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /phpinventory/editcategory.php.
- 7.2CVE-2022-41439billing system project project billing system projectEPSS 0.9%
Billing System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /phpinventory/edituser.php.