cve.bz

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

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. 7.2CVE-2022-31659vmwareEPSS 3.0%

    VMware Workspace ONE Access and Identity Manager contain a remote code execution vulnerability. A malicious actor with administrator and network access can trigger a remote code execution.

  2. 9.8CVE-2022-2674best fee management system project best fee management systemEPSS 0.7%

    A vulnerability was found in SourceCodester Best Fee Management System. It has been rated as critical. Affected by this issue is the function login of the file admin_class.php. The manipulation of the argument username leads to sql injecti…

  3. 8.8CVE-2022-2673rigatur online booking and hotel management systemEPSS 0.6%

    A vulnerability was found in Rigatur Online Booking and Hotel Management System aff6409. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file login.php of the component POST Request Handl…

  4. 8.8CVE-2022-2672garage management system project garage management systemEPSS 0.6%

    A vulnerability was found in SourceCodester Garage Management System. It has been classified as critical. Affected is an unknown function of the file createUser.php. The manipulation of the argument userName/uemail leads to sql injection. …

  5. 8.8CVE-2022-2671garage management system project garage management systemEPSS 0.6%

    A vulnerability was found in SourceCodester Garage Management System and classified as critical. This issue affects some unknown processing of the file removeUser.php. The manipulation of the argument id leads to sql injection. The attack …

  6. 8.8CVE-2022-2667razormist loan management systemEPSS 0.9%

    A vulnerability was found in SourceCodester Loan Management System and classified as critical. This issue affects some unknown processing of the file delete_lplan.php. The manipulation of the argument lplan_id leads to sql injection. The a…

  7. 8.8CVE-2022-2665simple e-learning system project simple e-learning systemEPSS 0.6%

    A vulnerability classified as critical was found in SourceCodester Simple E-Learning System. Affected by this vulnerability is an unknown functionality of the file classroom.php. The manipulation of the argument post_id leads to sql inject…

  8. 9.8CVE-2022-2656multi language hotel management software project multi language hotel management softwareEPSS 0.8%

    A vulnerability classified as critical has been found in SourceCodester Multi Language Hotel Management Software. Affected is an unknown function. The manipulation of the argument email leads to sql injection. It is possible to launch the …

  9. 9.8CVE-2022-32964omicard edm project omicard edmEPSS 1.5%

    OMICARD EDM’s API function has insufficient validation for user input. An unauthenticated remote attacker can inject arbitrary SQL commands to access, modify, delete database or disrupt service.

  10. 9.8CVE-2022-2648multi language hotel management software project multi language hotel management softwareEPSS 0.9%

    A vulnerability was found in SourceCodester Multi Language Hotel Management Software. It has been rated as critical. This issue affects some unknown processing. The manipulation of the argument room_id leads to sql injection. The attack ma…

  11. 9.8CVE-2022-2644online admission system project online admission systemEPSS 0.9%

    A vulnerability was found in SourceCodester Online Admission System and classified as critical. This issue affects some unknown processing of the component GET Parameter Handler. The manipulation of the argument eid leads to sql injection.…

  12. 9.8CVE-2022-2643online admission system project online admission systemEPSS 0.9%

    A vulnerability has been found in SourceCodester Online Admission System and classified as critical. This vulnerability affects unknown code of the component POST Parameter Handler. The manipulation of the argument shift leads to sql injec…

  13. 8.0CVE-2022-31197EPSS 2.4%

    PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method is not performing …

  14. 6.5CVE-2022-35864bmc track-it\!EPSS 1.6%

    This vulnerability allows remote attackers to disclose sensitive information on affected installations of BMC Track-It! 20.21.02.109. Authentication is required to exploit this vulnerability. The specific flaw exists within the GetPopupSub…

  15. 6.5CVE-2022-34872centreonEPSS 2.2%

    This vulnerability allows remote attackers to disclose sensitive information on affected installations of Centreon. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of Virtual Metrics…

  16. 7.2CVE-2022-34871centreonEPSS 2.9%

    This vulnerability allows remote attackers to escalate privileges on affected installations of Centreon. Authentication is required to exploit this vulnerability. The specific flaw exists within the configuration of poller resources. The i…

  17. 9.8CVE-2022-2272santesoft sante pacs serverEPSS 2.8%

    This vulnerability allows remote attackers to bypass authentication on affected installations of Sante PACS Server 3.0.4. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of calls…

  18. 7.5CVE-2022-34968percona serverEPSS 1.0%

    An issue in the fetch_step function in Percona Server for MySQL v8.0.28-19 allows attackers to cause a Denial of Service (DoS) via a SQL query.

  19. 8.8CVE-2022-34928jflyfox jfinal cmsEPSS 0.9%

    JFinal CMS v5.1.0 was discovered to contain a SQL injection vulnerability via /system/user.

  20. 9.8CVE-2022-29807quest kace systems management applianceEPSS 1.4%

    A SQL injection vulnerability exists within Quest KACE Systems Management Appliance (SMA) through 12.0 that can allow for remote code execution via download_agent_installer.php.

  21. 9.8CVE-2022-35422web based quiz system project web based quiz systemEPSS 1.0%

    Web Based Quiz System v1.0 was discovered to contain a SQL injection vulnerability via the qid parameter at update.php.

  22. 7.2CVE-2022-35421online tours and travels management system project online tours and travels management systemEPSS 0.9%

    Online Tours And Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the pname parameter at /admin/operations/packages.php.

  23. 9.8CVE-2022-34956pligg cmsEPSS 0.9%

    Pligg CMS v2.0.2 was discovered to contain a time-based SQL injection vulnerability via the page_size parameter at load_data_for_groups.php.

  24. 9.8CVE-2022-34955pligg cmsEPSS 0.9%

    Pligg CMS v2.0.2 was discovered to contain a time-based SQL injection vulnerability via the page_size parameter at load_data_for_topusers.php.

  25. 9.8CVE-2022-34954phptpoint pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at invoiceprint.php.

  26. 9.8CVE-2022-34953phptpoint pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the startDate parameter at getOrderReport.php.

  27. 9.8CVE-2022-34952phptpoint pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at edituser.php.

  28. 9.8CVE-2022-34951phptpoint pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the startDate parameter at getsalereport.php.

  29. 9.8CVE-2022-34950pharmacy management system project pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at editproduct.php.

  30. 9.8CVE-2022-34949pharmacy management system project pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain multiple SQL injection vulnerabilities via the email or password parameter at login.php.

  31. 9.8CVE-2022-34948pharmacy management system project pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at editbrand.php.

  32. 9.8CVE-2022-34947pharmacy management system project pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at editcategory.php.

  33. 9.8CVE-2022-34946pharmacy management system project pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the startDate parameter at getexpproduct.php.

  34. 9.8CVE-2022-34945pharmacy management system project pharmacy management systemEPSS 1.0%

    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the startDate parameter at getproductreport.php.

  35. 9.8CVE-2022-31181prestashopEPSS 7.7%

    PrestaShop is an Open Source e-commerce platform. In versions from 1.6.0.10 and before 1.7.8.7 PrestaShop is subject to an SQL injection vulnerability which can be chained to call PHP's Eval function on attacker input. The problem is fixed…

  36. 9.8CVE-2022-1950kainelabs youzifyEPSS 5.8%

    The Youzify WordPress plugin before 1.2.0 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to an unauthenticated SQL injection

  37. 9.8CVE-2022-22280sonicwallEPSS 9.8%

    Improper Neutralization of Special Elements used in an SQL Command leading to Unauthenticated SQL Injection vulnerability, impacting SonicWall GMS 9.3.1-SP2-Hotfix1, Analytics On-Prem 2.5.0.3-2520 and earlier versions.

  38. 8.8CVE-2022-2577garage management system project garage management systemEPSS 0.7%

    A vulnerability classified as critical was found in SourceCodester Garage Management System 1.0. This vulnerability affects unknown code of the file /edituser.php. The manipulation of the argument id with the input -2'%20UNION%20select%201…

  39. 9.4CVE-2022-1277inavitas solar logEPSS 0.8%

    Inavitas Solar Log product has an unauthenticated SQL Injection vulnerability.

  40. 8.8CVE-2022-34557barangay 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/permit/permit.php.

  41. 8.8CVE-2022-27613synology carddav serverEPSS 1.1%

    Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in webapi component in Synology CardDAV Server before 6.0.10-0153 allows remote authenticated users to inject SQL commands via unspecified v…

  42. 9.8CVE-2022-36161garage management system project garage management systemEPSS 1.3%

    Orange Station 1.0 was discovered to contain a SQL injection vulnerability via the username parameter.

  43. 9.8CVE-2022-34989fruits bazar project fruits bazarEPSS 1.1%

    Fruits Bazar v1.0 was discovered to contain a SQL injection vulnerability via the recover_email parameter at user_password_recover.php.

  44. 7.5CVE-2022-34067oretnom23 warehouse management systemEPSS 1.0%

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

  45. 8.8CVE-2022-31879online fire reporting system project online fire reporting systemEPSS 1.4%

    Online Fire Reporting System 1.0 is vulnerable to SQL Injection via the date parameter.

  46. 9.8CVE-2022-33965codepress visitor statisticsEPSS 4.4%

    Multiple Unauthenticated SQL Injection (SQLi) vulnerabilities in Osamaesh WP Visitor Statistics plugin <= 5.7 at WordPress.

  47. 7.5CVE-2022-29709communilink clink officeEPSS 1.3%

    CommuniLink Internet Limited CLink Office v2.0 was discovered to contain multiple SQL injection vulnerabilities via the username and password parameters.

  48. 8.8CVE-2022-34114dataeaseEPSS 0.9%

    Dataease v1.11.1 was discovered to contain a SQL injection vulnerability via the parameter dataSourceId.

  49. 8.8CVE-2022-33960supsystic social share buttonsEPSS 1.0%

    Multiple Authenticated (subscriber or higher user role) SQL Injection (SQLi) vulnerabilities in Social Share Buttons by Supsystic plugin <= 2.2.3 at WordPress.

  50. 8.8CVE-2022-30998homepage product organizer for woocommerce project homepage product organizer for woocommerceEPSS 0.9%

    Multiple Authenticated (subscriber or higher user role) SQL Injection (SQLi) vulnerabilities in WooPlugins.co's Homepage Product Organizer for WooCommerce plugin <= 1.1 at WordPress.