CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2024, 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
- 9.8CVE-2024-34931campcodes complete web-based school management systemEPSS 0.5%
A SQL injection vulnerability in /model/update_subject.php in Campcodes Complete Web-Based School Management System 1.0 allows an attacker to execute arbitrary SQL commands via the name parameter.
- 5.3CVE-2024-34930campcodes complete web-based school management systemEPSS 0.2%
A SQL injection vulnerability in /model/all_events1.php in Campcodes Complete Web-Based School Management System 1.0 allows attacker to execute arbitrary SQL commands via the month parameter.
- 9.8CVE-2024-34929campcodes complete web-based school management systemEPSS 0.5%
A SQL injection vulnerability in /view/find_friends.php in Campcodes Complete Web-Based School Management System 1.0 allows an attacker to execute arbitrary SQL commands via the my_index parameter.
- 7.3CVE-2024-34928campcodes complete web-based school management systemEPSS 0.3%
A SQL injection vulnerability in /model/update_subject_routing.php in Campcodes Complete Web-Based School Management System 1.0 allows an attacker to execute arbitrary SQL commands via the grade parameter.
- 9.8CVE-2024-34927campcodes complete web-based school management systemEPSS 0.5%
A SQL injection vulnerability in /model/update_classroom.php in Campcodes Complete Web-Based School Management System 1.0 allows an attacker to execute arbitrary SQL commands via the name parameter.
- 8.8CVE-2024-4779unlimited-elements unlimited elements for elementorEPSS 0.5%
The Unlimited Elements For Elementor (Free Widgets, Addons, Templates) plugin for WordPress is vulnerable to SQL Injection via the ‘data[post_ids][0]’ parameter in all versions up to, and including, 1.5.107 due to insufficient escaping on …
- 5.3CVE-2024-5240campcodes complete web-based school management systemEPSS 0.4%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /view/unread_msg.php. The manipulation of the argument my_index leads…
- 5.3CVE-2024-5239campcodes complete web-based school management systemEPSS 0.4%
A vulnerability has been found in Campcodes Complete Web-Based School Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /view/timetable_update_form.php. The manipulation of the argument g…
- 5.3CVE-2024-5238campcodes complete web-based school management systemEPSS 0.4%
A vulnerability, which was classified as critical, was found in Campcodes Complete Web-Based School Management System 1.0. This affects an unknown part of the file /view/timetable_insert_form.php. The manipulation of the argument grade lea…
- 5.3CVE-2024-5237campcodes complete web-based school management systemEPSS 0.4%
A vulnerability, which was classified as critical, has been found in Campcodes Complete Web-Based School Management System 1.0. Affected by this issue is some unknown functionality of the file /view/timetable_grade_wise.php. The manipulati…
- 5.3CVE-2024-5236campcodes complete web-based school management systemEPSS 0.4%
A vulnerability classified as critical was found in Campcodes Complete Web-Based School Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /view/teacher_salary_invoice1.php. The manipulation of th…
- 5.3CVE-2024-5235campcodes complete web-based school management systemEPSS 0.4%
A vulnerability classified as critical has been found in Campcodes Complete Web-Based School Management System 1.0. Affected is an unknown function of the file /view/teacher_salary_invoice.php. The manipulation of the argument teacher_id l…
- 5.3CVE-2024-5234campcodes complete web-based school management systemEPSS 0.4%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /view/teacher_salary_history1.php. The manipulation of the argume…
- 5.3CVE-2024-5233campcodes complete web-based school management systemEPSS 0.4%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /view/teacher_salary_details3.php. The manipulation of the argume…
- 5.3CVE-2024-5232campcodes complete web-based school management systemEPSS 0.4%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0. It has been classified as critical. This affects an unknown part of the file /view/teacher_salary_details2.php. The manipulation of the argument index …
- 5.3CVE-2024-5231campcodes complete web-based school management systemEPSS 0.4%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /view/teacher_salary_details.php. The manipulation of the a…
- 6.7CVE-2023-46807ivanti endpoint manager mobileEPSS 1.1%
An SQL Injection vulnerability in web component of EPMM before 12.1.0.0 allows an authenticated user with appropriate privilege to access or modify data in the underlying database.
- 6.7CVE-2023-46806ivanti endpoint manager mobileEPSS 1.0%
An SQL Injection vulnerability in a web component of EPMM versions before 12.1.0.0 allows an authenticated user with appropriate privilege to access or modify data in the underlying database.
- 9.8CVE-2023-51637santesoft sante pacs serverEPSS 1.0%
Sante PACS Server PG Patient Query SQL Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Sante PACS Server PG. Authentication is not required to…
- 7.2CVE-2024-21791zohocorp manageengine adaudit plusEPSS 2.2%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL Injection in lockout history option. Note: Non-admin users cannot exploit this vulnerability.
- 8.8CVE-2024-20360cisco secure firewall management centerEPSS 0.8%
A vulnerability in the web-based management interface of Cisco Firepower Management Center (FMC) Software could allow an authenticated, remote attacker to conduct SQL injection attacks on an affected system. This vulnerability exists becau…
- 9.8CVE-2024-35409webidsupport webidEPSS 0.5%
WeBid 1.1.2 is vulnerable to SQL Injection via admin/tax.php.
- 9.8CVE-2024-3495trustyplugins country state city dropdown cf7EPSS 14%
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' parameters in versions up to, and including, 2.7.2 due to insufficient escaping on the user supplied parameter and lack of suff…
- 7.5CVE-2024-4443businessdirectoryplugin business directoryEPSS 10%
The Business Directory Plugin – Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘listingfields’ parameter in all versions up to, and including, 6.4.2 due to insufficient escapin…
- 6.5CVE-2024-3518davidlingren media library assistantEPSS 0.5%
The Media Library Assistant plugin for WordPress is vulnerable to SQL Injection via the plugin's shortcode(s) in all versions up to, and including, 3.15 due to insufficient escaping on the user supplied parameter and lack of sufficient pre…
- 9.8CVE-2024-35056nasa ait coreEPSS 0.6%
NASA AIT-Core v2.5.2 was discovered to contain multiple SQL injection vulnerabilities via the query_packets and insert functions.
- 6.3CVE-2024-36039EPSS 0.7%
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
- 9.8CVE-2024-35361EPSS 0.5%
MTab Bookmark v1.9.5 has an SQL injection vulnerability in /LinkStore/getIcon. An attacker can execute arbitrary SQL statements through this vulnerability without requiring any user rights.
- 7.5CVE-2023-3942zkteco zkteco-based oem devices with firmware zam170-nf-1.8.25-7354-ver1.0.0, standalone service v. 2.1.6-20200907EPSS 0.6%
An 'SQL Injection' vulnerability, due to improper neutralization of special elements used in SQL commands, exists in ZKTeco-based OEM devices. This vulnerability allows an attacker to, in some cases, impersonate another user or perform una…
- 4.6CVE-2023-3938zkteco zkteco-based oem devices with firmware zam170-nf-1.8.25-7354-ver1.0.0EPSS 0.4%
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ZkTeco-based OEM devices allows an attacker to authenticate under any user from the device database. This issue affects ZkTeco-ba…
- 8.2CVE-2024-34949likeshopEPSS 0.4%
SQL injection vulnerability in Likeshop before 2.5.7 allows attackers to run abitrary SQL commands via the function OrderLogic::getOrderList function, exploited at the /admin/order/lists.html endpoint.
- 8.8CVE-2023-49335zohocorp manageengine adaudit plusEPSS 3.0%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL injection while getting file server details.
- 8.8CVE-2023-49334zohocorp manageengine adaudit plusEPSS 3.0%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL Injection while exporting a full summary report.
- 8.8CVE-2023-49333zohocorp manageengine adaudit plusEPSS 3.0%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL injection in the dashboard graph feature.
- 8.8CVE-2023-49332zohocorp manageengine adaudit plusEPSS 3.0%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL injection while adding file shares.
- 8.8CVE-2023-49331zohocorp manageengine adaudit plusEPSS 3.0%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL injection in the aggregate reports search option.
- 8.8CVE-2023-49330zohocorp manageengine adaudit plusEPSS 2.3%
Zoho ManageEngine ADAudit Plus versions below 7271 allows SQL Injection while getting aggregate report data.
- 6.9CVE-2024-5135phpgurukul directory management systemEPSS 0.7%
A vulnerability was found in PHPGurukul Directory Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /admin/index.php. The manipulation of the argument username leads to sql injecti…
- 5.3CVE-2024-5134remyandrade electricity consumption monitoring toolEPSS 0.6%
A vulnerability was found in SourceCodester Electricity Consumption Monitoring Tool 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /endpoint/delete-bill.php. The manipulation of the argument bill…
- 6.9CVE-2024-5122oretnom23 event registration systemEPSS 0.7%
A vulnerability was found in SourceCodester Event Registration System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file /registrar/. The manipulation of the argument search leads to sql in…
- 5.3CVE-2024-5120oretnom23 event registration systemEPSS 0.6%
A vulnerability was found in SourceCodester Event Registration System 1.0. It has been classified as critical. Affected is an unknown function of the file /registrar/?page=registration. The manipulation of the argument e leads to sql injec…
- 5.3CVE-2024-5119oretnom23 event registration systemEPSS 0.6%
A vulnerability was found in SourceCodester Event Registration System 1.0 and classified as critical. This issue affects some unknown processing of the file /classes/Master.php?f=load_registration. The manipulation of the argument last_id/…
- 6.9CVE-2024-5118oretnom23 event registration systemEPSS 0.7%
A vulnerability has been found in SourceCodester Event Registration System 1.0 and classified as critical. This vulnerability affects unknown code of the file /admin/login.php. The manipulation of the argument username/password leads to sq…
- 6.9CVE-2024-5117oretnom23 event registration systemEPSS 0.7%
A vulnerability, which was classified as critical, was found in SourceCodester Event Registration System 1.0. This affects an unknown part of the file portal.php. The manipulation of the argument username/password leads to sql injection. I…
- 6.9CVE-2024-5116warrendaloyan online examination systemEPSS 0.8%
A vulnerability, which was classified as critical, has been found in SourceCodester Online Examination System 1.0. Affected by this issue is some unknown functionality of the file save.php. The manipulation of the argument vote leads to sq…
- 5.3CVE-2024-5115campcodes complete web-based school management systemEPSS 0.5%
A vulnerability classified as critical was found in Campcodes Complete Web-Based School Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /view/teacher_profile.php. The manipulation of the argume…
- 5.3CVE-2024-5114campcodes complete web-based school management systemEPSS 0.5%
A vulnerability classified as critical has been found in Campcodes Complete Web-Based School Management System 1.0. Affected is an unknown function of the file /view/teacher_attendance_history1.php. The manipulation of the argument index l…
- 5.3CVE-2024-5113campcodes complete web-based school management systemEPSS 0.5%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /view/student_profile1.php. The manipulation of the argument std_…
- 5.3CVE-2024-5112campcodes complete web-based school management systemEPSS 0.5%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /view/student_profile.php. The manipulation of the argument std_i…
- 5.3CVE-2024-5111campcodes complete web-based school management systemEPSS 0.4%
A vulnerability was found in Campcodes Complete Web-Based School Management System 1.0. It has been classified as critical. This affects an unknown part of the file /view/student_payment_invoice1.php. The manipulation of the argument date …