cve.bz

CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 6

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 promptExplain 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

  1. 9.8CVE-2021-38217sem-cms semcmsEPSS 0.9%

    SEMCMS v 1.2 is vulnerable to SQL Injection via SEMCMS_User.php.

  2. 9.8CVE-2021-38737sem-cms semcmsEPSS 1.0%

    SEMCMS v 1.1 is vulnerable to SQL Injection via Ant_Pro.php.

  3. 9.8CVE-2021-38736sem-cms semcmsEPSS 1.0%

    SEMCMS Shop V 1.1 is vulnerable to SQL Injection via Ant_Global.php.

  4. 9.8CVE-2021-38734sem-cms semcmsEPSS 1.0%

    SEMCMS SHOP v 1.1 is vulnerable to SQL Injection via Ant_Menu.php.

  5. 9.8CVE-2021-37782phpgurukul employee record management systemEPSS 1.0%

    Employee Record Management System v 1.2 is vulnerable to SQL Injection via editempprofile.php.

  6. 8.8CVE-2021-35387phpgurukul hospital management systemEPSS 1.0%

    Hospital Management System v 4.0 is vulnerable to SQL Injection via file:hospital/hms/admin/view-patient.php.

  7. 7.2CVE-2022-43276canteen management system project canteen management systemEPSS 0.9%

    Canteen Management System v1.0 was discovered to contain a SQL injection vulnerability via the productId parameter at /php_action/fetchSelectedfood.php.

  8. 9.8CVE-2022-3732ehoney project ehoneyEPSS 0.5%

    A vulnerability was found in seccome Ehoney and classified as critical. Affected by this issue is some unknown functionality of the file /api/v1/bait/set. The manipulation of the argument Payload leads to sql injection. The attack may be l…

  9. 9.8CVE-2022-3729ehoney project ehoneyEPSS 0.5%

    A vulnerability, which was classified as critical, has been found in seccome Ehoney. This issue affects some unknown processing of the file /api/v1/attack. The manipulation of the argument AttackIP leads to sql injection. The attack may be…

  10. 8.8CVE-2022-41773deltaww diaenergieEPSS 8.1%

    The affected product DIAEnergie (versions prior to v1.9.01.002) is vulnerable to a SQL injection that exists in CheckDIACloud. A low-privileged authenticated attacker could exploit this issue to inject arbitrary SQL queries.

  11. 8.8CVE-2022-41133deltaww diaenergieEPSS 27%

    The affected product DIAEnergie (versions prior to v1.9.01.002) is vulnerable to a SQL injection that exists in GetDIAE_line_message_settingsListParameters. A low-privileged authenticated attacker could exploit this issue to inject arbitra…

  12. 8.8CVE-2022-40967deltaww diaenergieEPSS 8.0%

    The affected product DIAEnergie (versions prior to v1.9.01.002) is vulnerable to a SQL injection that exists in CheckIoTHubNameExisted. A low-privileged authenticated attacker could exploit this issue to inject arbitrary SQL queries.

  13. 9.8CVE-2022-39976school activity updates with sms notification project school activity updates with sms notificationEPSS 1.0%

    School Activity Updates with SMS Notification v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /modules/announcement/index.php?view=edit&id=.

  14. 9.8CVE-2022-3714oretnom23 online medicine ordering systemEPSS 0.5%

    A vulnerability classified as critical has been found in SourceCodester Online Medicine Ordering System 1.0. Affected is an unknown function of the file admin/?page=orders/view_order. The manipulation of the argument id leads to sql inject…

  15. 9.8CVE-2022-43775deltaww diaenergieEPSS 22%

    The HICT_Loop class in Delta Electronics DIAEnergy v1.9 contains a SQL Injection flaw that could allow an attacker to gain code execution on a remote system.

  16. 9.8CVE-2022-43774deltaww diaenergieEPSS 0.9%

    The HandlerPageP_KID class in Delta Electronics DIAEnergy v1.9 contains a SQL Injection flaw that could allow an attacker to gain code execution on a remote system.

  17. 8.8CVE-2022-37202jflyfox jfinal cmsEPSS 1.4%

    JFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/advicefeedback/list

  18. 9.8CVE-2022-3671elearning system project elearning systemEPSS 1.4%

    A vulnerability classified as critical was found in SourceCodester eLearning System 1.0. This vulnerability affects unknown code of the file /admin/students/manage.php. The manipulation of the argument id leads to sql injection. The attack…

  19. 9.8CVE-2022-2422feathersjs feathers-sequelizeEPSS 1.0%

    Due to improper input validation in the Feathers js library, it is possible to perform a SQL injection attack on the back-end database, in case the feathers-sequelize package is used.

  20. 9.8CVE-2022-2421socket socket.io-parserEPSS 1.4%

    Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.

  21. 9.8CVE-2022-29822feathersjs feathers-sequelizeEPSS 1.0%

    Due to improper parameter filtering in the Feathers js library, which may ultimately lead to SQL injection

  22. 8.8CVE-2022-3395soflyy wp all exportEPSS 1.3%

    The WP All Export Pro WordPress plugin before 1.7.9 uses the contents of the cc_sql POST parameter directly as a database query, allowing users which has been given permission to run exports to execute arbitrary SQL statements, leading to …

  23. 7.2CVE-2022-3302cleantalk spam protection\, antispam\, firewallEPSS 1.4%

    The Spam protection, AntiSpam, FireWall by CleanTalk WordPress plugin before 5.185.1 does not validate ids before using them in a SQL statement, which could lead to SQL injection exploitable by high privilege users such as admin

  24. 7.2CVE-2022-330010web form makerEPSS 1.4%

    The Form Maker by 10Web WordPress plugin before 1.15.6 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin

  25. 8.8CVE-2022-3246adenion blog2socialEPSS 1.5%

    The Blog2Social: Social Media Auto Post & Scheduler WordPress plugin before 6.9.10 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by any authenticated users, suc…

  26. 9.8CVE-2022-42021best student result management system project best student result management systemEPSS 1.0%

    Best Student Result Management System v1.0 is vulnerable to SQL Injection via /upresult/upresult/notice-details.php?nid=.

  27. 6.5CVE-2022-43023opencatsEPSS 1.0%

    OpenCATS v0.9.6 was discovered to contain a SQL injection vulnerability via the importID parameter in the Import viewerrors function.

  28. 6.5CVE-2022-43022opencatsEPSS 1.0%

    OpenCATS v0.9.6 was discovered to contain a SQL injection vulnerability via the tag_id variable in the Tag deletion function.

  29. 6.5CVE-2022-43021opencatsEPSS 1.0%

    OpenCATS v0.9.6 was discovered to contain a SQL injection vulnerability via the entriesPerPage variable.

  30. 6.5CVE-2022-43020opencatsEPSS 1.0%

    OpenCATS v0.9.6 was discovered to contain a SQL injection vulnerability via the tag_id variable in the Tag update function.

  31. 7.2CVE-2022-42218open source sacco management system project open source sacco management systemEPSS 0.9%

    Open Source SACCO Management System v1.0 vulnerable to SQL Injection via /sacco_shield/manage_loan.php.

  32. 9.8CVE-2022-3583canteen management system project canteen management systemEPSS 0.9%

    A vulnerability was found in SourceCodester Canteen Management System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file login.php. The manipulation of the argument business leads to sql injection. T…

  33. 9.8CVE-2022-3579oretnom23 cashier queuing systemEPSS 0.8%

    A vulnerability classified as critical was found in SourceCodester Cashier Queuing System 1.0. This vulnerability affects unknown code of the file /queuing/login.php of the component Login Page. The manipulation of the argument username/pa…

  34. 9.8CVE-2022-39056changingtec rava certificate validation systemEPSS 1.0%

    RAVA certificate validation system has insufficient validation for user input. An unauthenticated remote attacker can inject arbitrary SQL command to access, modify and delete database.

  35. 8.8CVE-2022-3158rockwellautomation factorytalk vantagepointEPSS 4.0%

    Rockwell Automation FactoryTalk VantagePoint versions 8.0, 8.10, 8.20, 8.30, 8.31 are vulnerable to an input validation vulnerability. The FactoryTalk VantagePoint SQL Server lacks input validation when users enter SQL statements to retrie…

  36. 7.2CVE-2022-42143open source sacco management system project open source sacco management systemEPSS 1.0%

    Open Source SACCO Management System v1.0 is vulnerable to SQL Injection via /sacco_shield/manage_payment.php.

  37. 9.8CVE-2022-42237merchandise online store project merchandise online storeEPSS 1.0%

    A SQL Injection issue in Merchandise Online Store v.1.0 allows an attacker to log in to the admin account.

  38. 7.2CVE-2022-41498billing system project billing systemEPSS 0.9%

    Billing System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /phpinventory/editbrand.php.

  39. 7.2CVE-2022-3243smackcoders import all pages\, post types\, products\, orders\, and users as xml \& csvEPSS 1.3%

    The Import all XML, CSV & TXT WordPress plugin before 6.5.8 does not properly sanitise and escape imported data before using them back SQL statements, leading to SQL injection exploitable by high privilege users such as admin

  40. 7.2CVE-2022-3131codexpert search loggerEPSS 1.2%

    The Search Logger WordPress plugin through 0.9 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users

  41. 7.2CVE-2022-41416online tours \& travels management system project online tours \& travels management systemEPSS 0.9%

    Online Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /user/update_booking.php.

  42. 7.2CVE-2022-42232oretnom23 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_storage.

  43. 9.8CVE-2022-42064online diagnostic lab management system project online diagnostic lab management systemEPSS 1.4%

    Online Diagnostic Lab Management System version 1.0 remote exploit that bypasses login with SQL injection and then uploads a shell.

  44. 9.8CVE-2022-3504sanitization management system project sanitization management systemEPSS 0.8%

    A vulnerability was found in SourceCodester Sanitization Management System and classified as critical. This issue affects some unknown processing of the file /php-sms/?p=services/view_service. The manipulation of the argument id leads to s…

  45. 7.2CVE-2022-3495simple online public access catalog project simple online public access catalogEPSS 0.8%

    A vulnerability has been found in SourceCodester Simple Online Public Access Catalog 1.0 and classified as critical. This vulnerability affects unknown code of the file /opac/Actions.php?a=login of the component Admin Login. The manipulati…

  46. 7.2CVE-2022-41536open 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/manage_user.php.

  47. 7.2CVE-2022-41535open 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/manage_borrower.php.

  48. 9.8CVE-2022-41391ocomon project ocomonEPSS 0.9%

    OcoMon v4.0 was discovered to contain a SQL injection vulnerability via the cod parameter at showImg.php.

  49. 9.8CVE-2022-41390ocomon project ocomonEPSS 0.9%

    OcoMon v4.0 was discovered to contain a SQL injection vulnerability via the cod parameter at download.php.

  50. 9.8CVE-2022-39303ree6EPSS 0.9%

    Ree6 is a moderation bot. This vulnerability allows manipulation of SQL queries. This issue has been patched in version 1.7.0 by using Javas PreparedStatements, which allow object setting without the risk of SQL injection. There are curren…