cve.bz

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

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-2022-27472roothub project roothubEPSS 1.3%

    SQL injection vulnerability in Topics Counting feature of Roothub 2.6.0 allows unauthorized attackers to execute arbitrary SQL commands via the "s" parameter remotely.

  2. 9.8CVE-2022-27165cszcms csz cmsEPSS 1.1%

    CSZ CMS 1.2.2 is vulnerable to SQL Injection via cszcms_admin_Plugin_manager_setstatus

  3. 9.8CVE-2022-27164cszcms csz cmsEPSS 1.1%

    CSZ CMS 1.2.2 is vulnerable to SQL Injection via cszcms_admin_Users_viewUsers

  4. 9.8CVE-2022-27163cszcms csz cmsEPSS 1.2%

    CSZ CMS 1.2.2 is vulnerable to SQL Injection via cszcms_admin_Users_editUser

  5. 9.8CVE-2022-27162cszcms csz cmsEPSS 1.1%

    CSZ CMS 1.2.2 is vulnerable to SQL Injection via cszcms_admin_Members_editUser

  6. 9.8CVE-2022-27161cszcms csz cmsEPSS 1.3%

    Csz Cms 1.2.2 is vulnerable to SQL Injection via cszcms_admin_Members_viewUsers

  7. 9.8CVE-2022-28347EPSS 2.9%

    A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing…

  8. 9.8CVE-2022-28346EPSS 19%

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary ex…

  9. 8.1CVE-2022-24827elideEPSS 1.4%

    Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort. When leveraging the following together: Elide Aggregation Data Store for Analytic Queries, Parameterized Columns (A column that requires a c…

  10. 8.1CVE-2022-24815jhipster generator-jhipsterEPSS 1.4%

    JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures. SQL Injection vulnerability in entities for applications generated with the option "reactive with Spring WebFlu…

  11. 9.8CVE-2021-37291kevinlab 4st l-bemsEPSS 6.5%

    An SQL Injection vulnerability exists in KevinLAB Inc Building Energy Management System 4ST BEMS 1.0.0 ivia the input_id POST parameter in index.php.

  12. 7.2CVE-2022-1023secondlinethemes podcast importer secondlineEPSS 1.5%

    The Podcast Importer SecondLine WordPress plugin before 1.3.8 does not sanitise and properly escape some imported data, which could allow SQL injection attacks to be performed by imported a malicious podcast file

  13. 7.2CVE-2022-1006elbtide advanced booking calendarEPSS 1.5%

    The Advanced Booking Calendar WordPress plugin before 1.7.1 does not sanitise and escape the id parameter when editing Calendars, which could allow high privilege users such as admin to perform SQL injection attacks

  14. 9.8CVE-2022-0949stopbadbots block and stop bad botsEPSS 7.7%

    The Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection WordPress plugin before 6.930 does not properly sanitise and escape the fingerprint parameter before using it in a SQL statement via the stopbadbots_grava_f…

  15. 7.5CVE-2022-27041os4ed opensisEPSS 1.3%

    Due to lack of protection, parameter student_id in OpenSIS Classic 8.0 /modules/eligibility/Student.php can be used to inject SQL queries to extract information from databases.

  16. 6.5CVE-2022-27127zbzcmsEPSS 0.7%

    zbzcms v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /php/ajax.php.

  17. 9.8CVE-2022-27126zbzcmsEPSS 1.0%

    zbzcms v1.0 was discovered to contain a SQL injection vulnerability via the art parameter at /include/make.php.

  18. 7.2CVE-2021-46436zzcmsEPSS 1.0%

    An issue was discovered in ZZCMS 2021. There is a SQL injection vulnerability in ad_manage.php.

  19. 9.8CVE-2022-28001movie seat reservation project movie seat reservationEPSS 1.8%

    Movie Seat Reservation v1 was discovered to contain a SQL injection vulnerability at /index.php?page=reserve via the id parameter.

  20. 8.8CVE-2022-28000car rental system project car rental systemEPSS 1.5%

    Car Rental System v1.0 was discovered to contain a SQL injection vulnerability at /Car_Rental/booking.php via the id parameter.

  21. 8.8CVE-2022-27992phpgurukul zoo management systemEPSS 1.5%

    Zoo Management System v1.0 was discovered to contain a SQL injection vulnerability at /public_html/animals via the class_id parameter.

  22. 6.5CVE-2022-27991online banking system project online banking systemEPSS 1.0%

    Online Banking System in PHP v1 was discovered to contain multiple SQL injection vulnerabilities at /staff_login.php via the Staff ID and Staff Password parameters.

  23. 7.5CVE-2022-1219pimcoreEPSS 1.4%

    SQL injection in RecyclebinController.php in GitHub repository pimcore/pimcore prior to 10.3.5. This vulnerability is capable of steal the data

  24. 8.8CVE-2022-23972asus rt-ax56u firmwareEPSS 0.5%

    ASUS RT-AX56U’s SQL handling function has an SQL injection vulnerability due to insufficient user input validation. An unauthenticated LAN attacker to inject arbitrary SQL code to read, modify and delete database.

  25. 9.8CVE-2022-26613php-cms project php-cmsEPSS 1.4%

    PHP-CMS v1.0 was discovered to contain a SQL injection vulnerability via the category parameter in categorymenu.php.

  26. 9.8CVE-2021-26114fortinet fortiwanEPSS 1.6%

    Multiple improper neutralization of special elements used in an SQL command vulnerabilities in FortiWAN before 4.5.9 may allow an unauthenticated attacker to execute unauthorized code or commands via specifically crafted HTTP requests.

  27. 9.8CVE-2022-28468payroll management system project payroll management systemEPSS 1.6%

    Payroll Management System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter.

  28. 9.8CVE-2022-28467online student admission project online student admissionEPSS 1.1%

    Online Student Admission v1.0 was discovered to contain a SQL injection vulnerability via the txtapplicationID parameter.

  29. 9.8CVE-2022-28116online banking system project online banking systemEPSS 1.2%

    Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter.

  30. 9.8CVE-2022-28115online sports complex booking project online sports complex bookingEPSS 1.2%

    Online Sports Complex Booking v1.0 was discovered to contain a SQL injection vulnerability via the id parameter.

  31. 9.8CVE-2022-27304oretnom23 student grading systemEPSS 1.3%

    Student Grading System v1.0 was discovered to contain a SQL injection vulnerability via the user parameter.

  32. 9.8CVE-2022-27124angeljudesuarez insurance management systemEPSS 1.1%

    Insurance Management System 1.0 was discovered to contain a SQL injection vulnerability via the username parameter.

  33. 9.8CVE-2022-27123employee performance evaluation project employee performance evaluationEPSS 1.3%

    Employee Performance Evaluation v1.0 was discovered to contain a SQL injection vulnerability via the email parameter.

  34. 9.8CVE-2022-26628matrimony project matrimonyEPSS 1.3%

    Matrimony v1.0 was discovered to contain a SQL injection vulnerability via the Password parameter.

  35. 7.2CVE-2022-26986impresscmsExploitEPSS 4.6%

    SQL Injection in ImpressCMS 1.4.3 and earlier allows remote attackers to inject into the code in unintended way, this allows an attacker to read and modify the sensitive information from the database used by the application. If misconfigur…

  36. 9.8CVE-2022-24231simple student information system project simple student information systemEPSS 1.8%

    Simple Student Information System v1.0 was discovered to contain a SQL injection vulnerability via add/Student.

  37. 9.8CVE-2022-26585mingsoft mcmsEPSS 5.5%

    Mingsoft MCMS v5.2.7 was discovered to contain a SQL injection vulnerability via /cms/content/list.

  38. 7.2CVE-2022-0887cybernetikz easy social iconsEPSS 1.3%

    The Easy Social Icons WordPress plugin before 3.1.4 does not sanitize the selected_icons attribute to the cnss_widget before using it in an SQL statement, leading to a SQL injection vulnerability.

  39. 7.5CVE-2021-32957auvesy-mdtEPSS 0.9%

    A function in MDT AutoSave versions prior to v6.02.06 is used to retrieve system information for a specific process, and this information collection executes multiple commands and summarizes the information into an XML. This function and s…

  40. 9.8CVE-2021-32953auvesy-mdtEPSS 1.2%

    An attacker could utilize SQL commands to create a new user MDT AutoSave versions prior to v6.02.06 and update the user’s permissions, granting the attacker the ability to login.

  41. 9.8CVE-2021-44135pagekitEPSS 1.5%

    pagekit all versions, as of 15-10-2021, is vulnerable to SQL Injection via Comment listing.

  42. 9.8CVE-2021-43484simple client management system project simple client management systemEPSS 3.5%

    A Remote Code Execution (RCE) vulnerability exists in Simple Client Management System 1.0 in create.php due to the failure to validate the extension of the file being sent in a request.

  43. 8.8CVE-2021-36625dolibarr erp\/crmEPSS 0.9%

    An SQL Injection vulnerability exists in Dolibarr ERP/CRM 13.0.2 (fixed version is 14.0.0) via a POST request to the country_id parameter in an UPDATE statement.

  44. 9.8CVE-2021-43506simple client management system project simple client management systemEPSS 1.6%

    An SQL Injection vulnerability exists in Sourcecodester Simple Client Management System 1.0 via the password parameter in Login.php.

  45. 6.5CVE-2021-40645jfinaloa project jfinaloaEPSS 1.1%

    An SQL Injection vulnerability exists in glorylion JFinalOA as of 9/7/2021 in the defkey parameter getHaveDoneTaskDataList method of the FlowTaskController.

  46. 6.5CVE-2021-40644oasys project oasysEPSS 1.1%

    An SQL Injection vulnerability exists in oasys oa_system as of 9/7/2021 in resources/mappers/notice-mapper.xml.

  47. 9.8CVE-2022-23797joomla joomla\!EPSS 1.1%

    An issue was discovered in Joomla! 3.0.0 through 3.10.6 & 4.0.0 through 4.1.0. Inadequate filtering on the selected Ids on an request could resulted into an possible SQL injection.

  48. 9.8CVE-2020-24770nexusphpEPSS 2.5%

    SQL injection vulnerability in modrules.php in NexusPHP 1.5 allows remote attackers to execute arbitrary SQL commands via the id parameter.

  49. 9.8CVE-2020-24769nexusphpEPSS 2.0%

    SQL injection vulnerability in takeconfirm.php in NexusPHP 1.5 allows remote attackers to execute arbitrary SQL commands via the classes parameter.

  50. 7.5CVE-2021-43109puneethreddyhc online-shopping-system project puneethreddyhc online-shopping-systemEPSS 1.2%

    An SQL Injection vulnerability exits in PuneethReddyHC online-shopping-system as of 11/01/2021 via the p parameter in product.php.