CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 13
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-2022-35598inventorymanagementsystem project inventorymanagementsystemEPSS 0.9%
A SQL injection vulnerability in ConnectionFactoryDAO.java in sazanrjb InventoryManagementSystem 1.0 allows attackers to execute arbitrary SQL commands via parameter username.
- 6.5CVE-2022-35148maccmsEPSS 0.7%
maccms10 v2021.1000.1081 to v2022.1000.3031 was discovered to contain a SQL injection vulnerability via the table parameter at database/columns.html.
- 9.8CVE-2022-35121xxyopen novel-plusEPSS 0.9%
Novel-Plus v3.6.1 was discovered to contain a SQL injection vulnerability via the keyword parameter at /service/impl/BookServiceImpl.java.
- 9.8CVE-2022-2847guest management system project guest management systemEPSS 0.9%
A vulnerability, which was classified as critical, has been found in SourceCodester Guest Management System. This issue affects some unknown processing of the file /guestmanagement/front.php. The manipulation of the argument rid leads to s…
- 9.8CVE-2021-39085ibm sterling b2b integratorEPSS 1.0%
IBM Sterling B2B Integrator Standard Edition 6.0.0.0 through 6.0.3.5, 6.1.0.0 through 6.1.0.4, and 6.1.1.0 through 6.1.1.1 is vulnerable to SQL injection. A remote attacker could send specially crafted SQL statements, which could allow the…
- 9.8CVE-2022-36242oretnom23 clinic\'s patient management systemEPSS 0.9%
Clinic's Patient Management System v1.0 is vulnerable to SQL Injection via /pms/update_medicine.php?id=.
- 9.8CVE-2022-36599mingsoft mcmsEPSS 1.1%
Mingsoft MCMS 5.2.8 was discovered to contain a SQL injection vulnerability in /mdiy/model/delete URI via models Lists.
- 9.8CVE-2022-36272mingsoft mcmsEPSS 1.1%
Mingsoft MCMS 5.2.8 was discovered to contain a SQL injection vulnerability in /mdiy/page/verify URI via fieldName parameter.
- 9.8CVE-2022-2812guest management system project guest management systemEPSS 0.9%
A vulnerability classified as critical was found in SourceCodester Guest Management System. This vulnerability affects unknown code of the file index.php. The manipulation of the argument username/pass leads to sql injection. The attack ca…
- 10.0CVE-2022-35942linuxfoundation loopback-connector-postgresqlEPSS 0.7%
Improper input validation on the `contains` LoopBack filter may allow for arbitrary SQL injection. When the extended filter property `contains` is permitted to be interpreted by the Postgres connector, it is possible to inject arbitrary SQ…
- 9.8CVE-2022-35956update by case project update by caseEPSS 0.6%
This Rails gem adds two methods to the ActiveRecord::Base class that allow you to update many records on a single database hit, using a case sql statement for it. Before version 0.1.3 `update_by_case` gem used custom sql strings, and it wa…
- 9.8CVE-2022-2803phpgurukul zoo management systemEPSS 0.9%
A vulnerability was found in SourceCodester Zoo Management System and classified as critical. This issue affects some unknown processing of the file /pages/animals.php. The manipulation of the argument class_id leads to sql injection. The …
- 9.8CVE-2022-2802gas agency management system project gas agency management systemEPSS 0.8%
A vulnerability has been found in SourceCodester Gas Agency Management System and classified as critical. This vulnerability affects unknown code of the file gasmark/login.php. The manipulation of the argument username leads to sql injecti…
- 9.8CVE-2022-2801automated beer parlour billing system project automated beer parlour billing systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in SourceCodester Automated Beer Parlour Billing System. This affects an unknown part of the component Login. The manipulation of the argument username leads to sql injection. It…
- 9.8CVE-2022-2797student information system project student information systemEPSS 0.6%
A vulnerability classified as critical was found in SourceCodester Student Information System. Affected by this vulnerability is an unknown functionality of the file /admin/students/view_student.php. The manipulation of the argument id lea…
- 3.3CVE-2022-20280google androidEPSS 0.2%
In MMSProvider, there is a possible read of protected data due to improper input validationSQL injection. This could lead to local information disclosure of sms/mms data with User execution privileges needed. User interaction is not needed…
- 9.8CVE-2022-2774library management system project library management systemEPSS 0.6%
A vulnerability was found in SourceCodester Library Management System. It has been declared as critical. This vulnerability affects unknown code of the file librarian/student.php. The manipulation of the argument title leads to sql injecti…
- 9.8CVE-2022-2772apartment visitors management system project apartment visitors management systemEPSS 0.6%
A vulnerability was found in SourceCodester Apartment Visitor Management System and classified as critical. Affected by this issue is some unknown functionality of the file action-visitor.php. The manipulation of the argument editid/remark…
- 9.8CVE-2022-2771simple online book store system project simple online book store systemEPSS 0.6%
A vulnerability has been found in SourceCodester Simple Online Book Store System and classified as critical. Affected by this vulnerability is an unknown functionality of the file /obs/bookPerPub.php. The manipulation of the argument booki…
- 9.8CVE-2022-2770simple online book store system project simple online book store systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in SourceCodester Simple Online Book Store System. Affected is an unknown function of the file /obs/book.php. The manipulation of the argument bookisbn leads to sql injection. It…
- 9.8CVE-2022-2766razormist loan management systemEPSS 1.3%
A vulnerability was found in SourceCodester Loan Management System. It has been rated as critical. Affected by this issue is some unknown functionality of the file /index.php. The manipulation of the argument password leads to sql injectio…
- 9.8CVE-2022-2747simple online book store system project simple online book store systemEPSS 0.6%
A vulnerability was found in SourceCodester Simple Online Book Store and classified as critical. This issue affects some unknown processing of the file book.php. The manipulation of the argument book_isbn leads to sql injection. The attack…
- 9.8CVE-2022-2745gym management system project gym management systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in SourceCodester Gym Management System. This affects an unknown part of the file /admin/add_trainers.php of the component Add New Trainer. The manipulation of the argument train…
- 9.8CVE-2022-38130keysight sensor management serverEPSS 57%
The com.keysight.tentacle.config.ResourceManager.smsRestoreDatabaseZip() method is used to restore the HSQLDB database used in SMS. It takes the path of the zipped database file as the single parameter. An unauthenticated, remote attacker …
- 9.8CVE-2022-36750oretnom23 clinic\'s patient management systemEPSS 1.0%
Clinic's Patient Management System v1.0 is vulnerable to SQL injection via /pms/update_user.php?id=.
- 9.8CVE-2022-2728gym management system project gym management systemEPSS 0.8%
A vulnerability was found in SourceCodester Gym Management System. It has been rated as critical. Affected by this issue is some unknown functionality of the file /mygym/admin/index.php. The manipulation of the argument edit_tran leads to …
- 9.8CVE-2022-2727gym management system project gym management systemEPSS 0.8%
A vulnerability was found in SourceCodester Gym Management System. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /mygym/admin/login.php. The manipulation of the argument admin_emai…
- 9.8CVE-2022-2726sem-cms semcmsEPSS 0.8%
A vulnerability classified as critical has been found in SEMCMS. This affects an unknown part of the file Ant_Check.php. The manipulation of the argument DID leads to sql injection. It is possible to initiate the attack remotely. The explo…
- 9.8CVE-2022-2724employee management system project employee management systemEPSS 1.1%
A vulnerability was found in SourceCodester Employee Management System. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /process/aprocess.php. The manipulation of the argument mailui…
- 9.8CVE-2022-2723employee management system project employee management systemEPSS 1.1%
A vulnerability was found in SourceCodester Employee Management System. It has been classified as critical. Affected is an unknown function of the file /process/eprocess.php. The manipulation of the argument mailuid/pwd leads to sql inject…
- 9.8CVE-2022-2722simple student information system project simple student information systemEPSS 0.9%
A vulnerability was found in SourceCodester Simple Student Information System and classified as critical. This issue affects some unknown processing of the file manage_course.php. The manipulation of the argument id leads to sql injection.…
- 9.8CVE-2022-2715employee management system project employee management systemEPSS 0.9%
A vulnerability has been found in SourceCodester Employee Management System and classified as critical. This vulnerability affects unknown code of the file eloginwel.php. The manipulation of the argument id leads to sql injection. The atta…
- 9.8CVE-2022-2269wpwhitesecurity website file changes monitorEPSS 1.3%
The Website File Changes Monitor WordPress plugin before 1.8.3 does not sanitise and escape user input before using it in a SQL statement via an action available to users with the manage_options capability (by default admins), leading to a…
- 9.8CVE-2022-2708gym management system project gym management systemEPSS 0.6%
A vulnerability, which was classified as critical, was found in SourceCodester Gym Management System. This affects an unknown part of the file login.php. The manipulation of the argument user_login with the input 123@xx.com' OR (SELECT 908…
- 9.8CVE-2022-2707fabian online class and exam scheduling systemEPSS 0.8%
A vulnerability classified as critical was found in SourceCodester Online Class and Exam Scheduling System 1.0. Affected by this vulnerability is an unknown functionality of the file /pages/faculty_sched.php. The manipulation of the argume…
- 9.8CVE-2022-2706fabian online class and exam scheduling systemEPSS 0.8%
A vulnerability classified as critical has been found in SourceCodester Online Class and Exam Scheduling System 1.0. Affected is an unknown function of the file /pages/class_sched.php. The manipulation of the argument class with the input …
- 9.8CVE-2022-2705simple student information system project simple student information systemEPSS 0.8%
A vulnerability was found in SourceCodester Simple Student Information System. It has been rated as critical. This issue affects some unknown processing of the file admin/departments/manage_department.php. The manipulation of the argument …
- 8.8CVE-2022-2703gym management system project gym management systemEPSS 0.8%
A vulnerability was found in SourceCodester Gym Management System. It has been classified as critical. This affects an unknown part of the component Exercises Module. The manipulation of the argument exer leads to sql injection. It is poss…
- 8.8CVE-2022-2700gym management system project gym management systemEPSS 0.8%
A vulnerability classified as critical has been found in SourceCodester Gym Management System. This affects an unknown part of the component GET Parameter Handler. The manipulation of the argument day leads to sql injection. It is possible…
- 7.5CVE-2022-2699simple e-learning system project simple e-learning systemEPSS 0.7%
A vulnerability was found in SourceCodester Simple E-Learning System. It has been rated as critical. Affected by this issue is some unknown functionality of the file /claire_blake. The manipulation of the argument phoneNumber leads to sql …
- 9.8CVE-2022-2698simple e-learning system project simple e-learning systemEPSS 0.8%
A vulnerability was found in SourceCodester Simple E-Learning System. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file search.php. The manipulation of the argument searchPost leads to…
- 7.5CVE-2022-2697simple e-learning system project simple e-learning systemEPSS 0.7%
A vulnerability was found in SourceCodester Simple E-Learning System. It has been classified as critical. Affected is an unknown function of the file comment_frame.php. The manipulation of the argument post_id leads to sql injection. It is…
- 8.8CVE-2022-2693electronic medical records system project electronic medical records systemEPSS 0.8%
A vulnerability has been found in SourceCodester Electronic Medical Records System and classified as critical. This vulnerability affects unknown code of the file register.php of the component UPDATE Statement Handler. The manipulation of …
- 9.8CVE-2022-2688expense management system project expense management systemEPSS 0.6%
A vulnerability was found in SourceCodester Expense Management System. It has been rated as critical. This issue affects the function fetch_report_credit of the file report.php of the component POST Parameter Handler. The manipulation of t…
- 9.8CVE-2022-2687gym management system project gym management systemEPSS 0.8%
A vulnerability, which was classified as critical, was found in SourceCodester Gym Management System. Affected is an unknown function. The manipulation of the argument user_pass leads to sql injection. It is possible to launch the attack r…
- 8.8CVE-2022-2680church management system project church management systemEPSS 0.8%
A vulnerability classified as critical has been found in SourceCodester Church Management System 1.0. Affected is an unknown function of the file /login.php. The manipulation of the argument username with the input ' OR (SELECT 7064 FROM(S…
- 9.8CVE-2022-2679janobe interview management systemEPSS 0.8%
A vulnerability was found in SourceCodester Interview Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /viewReport.php. The manipulation of the argument id with the input (UPDATEX…
- 9.8CVE-2022-2677apartment visitors management system project apartment visitors management systemEPSS 0.8%
A vulnerability was found in SourceCodester Apartment Visitor Management System 1.0. It has been classified as critical. This affects an unknown part of the file index.php. The manipulation of the argument username with the input ' AND (SE…
- 9.8CVE-2022-2676electronic medical records system project electronic medical records systemEPSS 0.8%
A vulnerability was found in SourceCodester Electronic Medical Records System and classified as critical. Affected by this issue is some unknown functionality of the component POST Request Handler. The manipulation of the argument user_ema…
- 5.5CVE-2022-36839samsung checkoutEPSS 0.3%
SQL injection vulnerability via IAPService in Samsung Checkout prior to version 5.0.53.1 allows attackers to access IAP information.