CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 15
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-2017-20143ambit movie portal scriptEPSS 0.9%
A vulnerability, which was classified as critical, has been found in Itech Movie Portal Script 7.36. This issue affects some unknown processing of the file /film-rating.php. The manipulation of the argument v leads to sql injection (Error)…
- 9.8CVE-2017-20142ambit movie portal scriptEPSS 0.9%
A vulnerability classified as critical was found in Itech Movie Portal Script 7.36. This vulnerability affects unknown code of the file /artist-display.php. The manipulation of the argument act leads to sql injection (Union). The attack ca…
- 9.8CVE-2017-20141ambit movie portal scriptEPSS 0.9%
A vulnerability classified as critical has been found in Itech Movie Portal Script 7.36. This affects an unknown part of the file /movie.php. The manipulation of the argument f leads to sql injection (Union). It is possible to initiate the…
- 9.8CVE-2017-20139ambit movie portal scriptEPSS 0.9%
A vulnerability was found in Itech Movie Portal Script 7.36. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /show_news.php. The manipulation of the argument id with the input AND (S…
- 5.9CVE-2022-2142advantech iviewEPSS 0.9%
The affected product is vulnerable to a SQL injection with high attack complexity, which may allow an unauthorized attacker to disclose information.
- 4.9CVE-2022-2137advantech iviewEPSS 1.0%
The affected product is vulnerable to two SQL injections that require high privileges for exploitation and may allow an unauthorized attacker to disclose information
- 6.5CVE-2022-2136advantech iviewEPSS 9.4%
The affected product is vulnerable to multiple SQL injections that require low privileges for exploitation and may allow an unauthorized attacker to disclose information.
- 7.5CVE-2022-2135advantech iviewEPSS 11%
The affected product is vulnerable to multiple SQL injections, which may allow an unauthorized attacker to disclose information.
- 7.2CVE-2022-34590hospital management system project hospital management systemEPSS 5.3%
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in /HMS/admin.php.
- 8.8CVE-2022-34588advanced school management system project advanced school management systemEPSS 0.8%
itsourcecode Advanced School Management System v1.0 is vulnerable to SQL Injection via the grade parameter at /school/view/timetable_insert_form.php.
- 8.8CVE-2022-34586advanced school management system project advanced school management systemEPSS 0.9%
itsourcecode Advanced School Management System v1.0 is vulnerable to SQL Injection via the grade parameter at /school/view/student_grade_wise.php.
- 7.2CVE-2022-34042barangay management system project barangay management systemEPSS 0.9%
Barangay Management System v1.0 was discovered to contain a SQL injection vulnerability via the hidden_id parameter at /pages/household/household.php.
- 8.8CVE-2022-2492library management system project library management systemEPSS 0.8%
A vulnerability was found in SourceCodester Library Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /index.php. The manipulation of the argument RollNo with the input admin' AND (SEL…
- 8.8CVE-2022-2491library management system project library management systemEPSS 0.8%
A vulnerability has been found in SourceCodester Library Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file lab.php. The manipulation of the argument Section with the input 1' UNION ALL SE…
- 8.8CVE-2022-2490simple e-learning system project simple e-learning systemEPSS 0.8%
A vulnerability classified as critical has been found in SourceCodester Simple E-Learning System 1.0. Affected is an unknown function of the file search.php. The manipulation of the argument classCode with the input 1'||(SELECT 0x74666264 …
- 8.8CVE-2022-2489simple e-learning system project simple e-learning systemEPSS 0.8%
A vulnerability was found in SourceCodester Simple E-Learning System 1.0. It has been rated as critical. This issue affects some unknown processing of the file classRoom.php. The manipulation of the argument classCode with the input 1'||(S…
- 9.8CVE-2022-32456digiwin business process managementEPSS 1.7%
Digiwin BPM’s function has insufficient validation for user input. An unauthenticated remote attacker can inject arbitrary SQL command to access, modify, delete database or disrupt service.
- 9.8CVE-2022-34023barangay management system project barangay management systemEPSS 0.8%
Barangay Management System v1.0 was discovered to contain a SQL injection vulnerability via the hidden_id parameter at /officials/officials.php.
- 8.8CVE-2022-2468garage management system project garage management systemEPSS 0.9%
A vulnerability was found in SourceCodester Garage Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /editbrand.php. The manipulation of the argument id leads to sql injection. The att…
- 9.8CVE-2022-2467garage management system project garage management systemEPSS 4.9%
A vulnerability has been found in SourceCodester Garage Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /login.php. The manipulation of the argument username with the input 1@a.com' AND…
- 8.8CVE-2022-26120fortinet fortiadcEPSS 0.7%
Multiple improper neutralization of special elements used in an SQL Command ('SQL Injection') vulnerabilities [CWE-89] in FortiADC management interface 7.0.0 through 7.0.1, 5.0.0 through 6.2.2 may allow an authenticated attacker to execute…
- 7.1CVE-2022-24691dsk dsknetEPSS 0.9%
An issue was discovered in DSK DSKNet 2.16.136.0 and 2.17.136.5. A SQL Injection vulnerability allows authenticated users to taint database data and extract sensitive information via crafted HTTP requests. The type of SQL Injection is blin…
- 8.2CVE-2022-24690dsk dsknetEPSS 1.1%
An issue was discovered in DSK DSKNet 2.16.136.0 and 2.17.136.5. A PresAbs.php SQL Injection vulnerability allows unauthenticated users to taint database data and extract sensitive information via crafted HTTP requests. The type of SQL Inj…
- 9.8CVE-2022-27434unit4 tetaEPSS 1.4%
UNIT4 TETA Mobile Edition (ME) before 29.5.HF17 was discovered to contain a SQL injection vulnerability via the ProfileName parameter in the errorReporting page.
- 9.8CVE-2017-20138itechscripts auction scriptEPSS 0.7%
A vulnerability was found in Itech Auction Script 6.49. It has been classified as critical. This affects an unknown part of the file /mcategory.php. The manipulation of the argument mcid with the input 4' AND 1734=1734 AND 'Ggks'='Ggks lea…
- 7.5CVE-2017-20137itechscripts b2b scriptEPSS 0.8%
A vulnerability was found in Itech B2B Script 4.28. It has been rated as critical. This issue affects some unknown processing of the file /catcompany.php. The manipulation of the argument token with the input 704667c6a1e7ce56d3d6fa748ab6d9…
- 7.5CVE-2017-20136itechscripts classifieds scriptEPSS 0.8%
A vulnerability classified as critical has been found in Itech Classifieds Script 7.27. Affected is an unknown function of the file /subpage.php. The manipulation of the argument scat with the input =51' AND 4941=4941 AND 'hoCP'='hoCP lead…
- 9.8CVE-2017-20135itechscripts dating scriptEPSS 1.0%
A vulnerability classified as critical was found in Itech Dating Script 3.26. Affected by this vulnerability is an unknown functionality of the file /see_more_details.php. The manipulation of the argument id leads to sql injection. The att…
- 9.8CVE-2017-20134itechscripts freelancer scriptEPSS 0.9%
A vulnerability, which was classified as critical, has been found in Itech Freelancer Script 5.13. Affected by this issue is some unknown functionality of the file /category.php. The manipulation of the argument sk leads to sql injection. …
- 9.8CVE-2017-20132itechscripts multi vendor scriptEPSS 0.9%
A vulnerability was found in Itech Multi Vendor Script 6.49 and classified as critical. This issue affects some unknown processing of the file /multi-vendor-shopping-script/product-list.php. The manipulation of the argument pl leads to sql…
- 9.8CVE-2017-20131itechscripts news portal scriptEPSS 1.1%
A vulnerability was found in Itech News Portal 6.28. It has been classified as critical. Affected is an unknown function of the file /news-portal-script/information.php. The manipulation of the argument inf leads to sql injection. It is po…
- 9.8CVE-2017-20130itechscripts real estate scriptEPSS 1.1%
A vulnerability was found in Itech Real Estate Script 3.12. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /real-estate-script/search_property.php. The manipulation of the argument …
- 7.2CVE-2022-32416product show room site project product show room siteEPSS 1.0%
Product Show Room Site v1.0 is vulnerable to SQL Injection via /psrs/classes/Master.php?f=delete_product.
- 8.8CVE-2022-32415product show room site project product show room siteEPSS 1.0%
Product Show Room Site v1.0 is vulnerable to SQL Injection via /psrs/?p=products/view_product&id=.
- 7.5CVE-2022-32297piwigoEPSS 1.2%
Piwigo v12.2.0 was discovered to contain SQL injection vulnerability via the Search function.
- 9.8CVE-2022-30113fahou100 electronic mall systemEPSS 0.8%
Electronic mall system 1.0_build20200203 is affected vulnerable to SQL Injection.
- 9.8CVE-2017-20129logostore project logostoreEPSS 0.6%
A vulnerability was found in LogoStore. It has been classified as critical. Affected is an unknown function of the file /LogoStore/search.php. The manipulation of the argument query with the input test' UNION ALL SELECT CONCAT(CONCAT('qqkk…
- 9.8CVE-2017-20128kb messages php script project kb messages php scriptEPSS 1.2%
A vulnerability has been found in KB Messages PHP Script 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality. The manipulation of the argument username/password with the input 'or''=' leads to sql inj…
- 9.8CVE-2017-20127kb login authentication script project kb login authentication scriptEPSS 1.3%
A vulnerability was found in KB Login Authentication Script 1.1 and classified as critical. Affected by this issue is some unknown functionality. The manipulation of the argument username/password with the input 'or''=' leads to sql inject…
- 9.8CVE-2017-20126kb affiliate referral script project kb affiliate referral scriptEPSS 1.0%
A vulnerability was found in KB Affiliate Referral Script 1.0. It has been classified as critical. This affects an unknown part of the file /index.php. The manipulation of the argument username/password with the input 'or''=' leads to sql …
- 9.8CVE-2022-35628in2code living user experienceEPSS 27%
A SQL injection issue was discovered in the lux extension before 17.6.1, and 18.x through 24.x before 24.0.2, for TYPO3.
- 9.8CVE-2022-29601oliverklee seminarsEPSS 1.1%
The seminars (aka Seminar Manager) extension through 4.1.3 for TYPO3 allows SQL Injection.
- 9.8CVE-2022-29600oliverklee oelibEPSS 1.1%
The oelib (aka One is Enough Library) extension through 4.1.5 for TYPO3 allows SQL Injection.
- 4.6CVE-2022-32246sap business objects business intelligence platformEPSS 0.5%
SAP Busines Objects Business Intelligence Platform (Visual Difference Application) - versions 420, 430, allows an authenticated attacker who has access to BI admin console to send crafted queries and extract data from the SQL backend. On s…
- 9.8CVE-2022-2298oretnom23 clinic\'s patient management systemEPSS 1.0%
A vulnerability has been found in SourceCodester Clinics Patient Management System 2.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /pms/index.php of the component Login Page. The manip…
- 7.2CVE-2022-2263online hotel booking project online hotel bookingEPSS 0.8%
A vulnerability was found in Online Hotel Booking System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file edit_room_cat.php of the component Room Handler. The manipulation of the argument roo…
- 7.2CVE-2022-2262online hotel booking project online hotel bookingEPSS 0.8%
A vulnerability has been found in Online Hotel Booking System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file edit_all_room.php of the component Room Handler. The manipulation of the a…
- 9.8CVE-2022-1057varktech pricing deals for woocommerceEPSS 8.0%
The Pricing Deals for WooCommerce WordPress plugin through 2.0.2.02 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to an unauthenticated S…
- 6.5CVE-2022-22463ibm security verify accessEPSS 1.0%
IBM Security Access Manager Appliance 10.0.0.0, 10.0.1.0, 10.0.2.0, and 10.0.3.0 is vulnerable to SQL injection. A remote attacker could send specially crafted SQL statements, which could allow the attacker to view, add, modify or delete i…
- 9.8CVE-2022-28623hpe icewall sso certdEPSS 0.9%
Security vulnerabilities in HPE IceWall SSO 10.0 certd could be exploited remotely to allow SQL injection or unauthorized data injection. HPE has provided the following updated modules to resolve these vulnerabilities. HPE IceWall SSO vers…