cve.bz

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

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. 8.8CVE-2022-0386sophos unified threat managementEPSS 1.2%

    A post-auth SQL injection vulnerability in the Mail Manager potentially allows an authenticated attacker to execute code in Sophos UTM before version 9.710.

  2. 9.8CVE-2022-26285simple client management system project simple client management systemEPSS 2.0%

    Simple Subscription Website v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in the apply endpoint. This vulnerability allows attackers to dump the application's database via crafted HTTP requests.

  3. 9.8CVE-2022-26284simple client management system project simple client management systemEPSS 2.0%

    Simple Client Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in the manage_client endpoint. This vulnerability allows attackers to dump the application's database via crafted HTTP reques…

  4. 9.8CVE-2022-26283oretnom23 simple subscription websiteEPSS 1.6%

    Simple Subscription Website v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in the view_plan endpoint. This vulnerability allows attackers to dump the application's database via crafted HTTP requests.

  5. 9.8CVE-2022-0760quantumcloud simple link directoryEPSS 11%

    The Simple Link Directory WordPress plugin before 7.7.2 does not validate and escape the post_id parameter before using it in a SQL statement via the qcopd_upvote_action AJAX action (available to unauthenticated and authenticated users), l…

  6. 9.8CVE-2022-0747quantumcloud infographic makerEPSS 15%

    The Infographic Maker WordPress plugin before 4.3.8 does not validate and escape the post_id parameter before using it in a SQL statement via the qcld_upvote_action AJAX action (available to unauthenticated and authenticated users), leadin…

  7. 9.8CVE-2022-0739reputeinfosystems bookingpressExploitEPSS 37%

    The BookingPress WordPress plugin before 1.0.11 fails to properly sanitize user supplied POST data before it is used in a dynamically constructed SQL query via the bookingpress_front_get_category_services AJAX action (available to unauthen…

  8. 9.8CVE-2022-0694elbtide advanced booking calendarEPSS 1.8%

    The Advanced Booking Calendar WordPress plugin before 1.7.0 does not validate and escape the calendar parameter before using it in a SQL statement via the abc_booking_getSingleCalendar AJAX action (available to both unauthenticated and aut…

  9. 9.8CVE-2022-25505taogogo taocmsEPSS 1.1%

    Taocms v3.0.2 was discovered to contain a SQL injection vulnerability via the id parameter in \include\Model\Category.php.

  10. 7.5CVE-2021-44345wvti one card integrated management systemEPSS 1.1%

    Beijing Wisdom Vision Technology Industry Co., Ltd One Card Integrated Management System 3.0 is vulnerable to SQL Injection.

  11. 8.8CVE-2022-26266piwigoEPSS 1.3%

    Piwigo v12.2.0 was discovered to contain a SQL injection vulnerability via pwg.users.php.

  12. 7.2CVE-2022-25607foliovision fv flowplayer video playerEPSS 0.8%

    Authenticated (author or higher user role) SQL Injection (SQLi) vulnerability discovered in FV Flowplayer Video Player WordPress plugin (versions <= 7.5.15.727).

  13. 8.8CVE-2022-0757rapid7 nexposeEPSS 1.2%

    Rapid7 Nexpose versions 6.6.93 and earlier are susceptible to an SQL Injection vulnerability, whereby valid search operators are not defined. This lack of validation can allow a logged-in, authenticated attacker to manipulate the "ANY" and…

  14. 9.8CVE-2021-44088attendance and payroll system project attendance and payroll systemEPSS 3.0%

    An SQL Injection vulnerability exists in Sourcecodester Attendance and Payroll System v1.0 which allows a remote attacker to bypass authentication via unsanitized login parameters.

  15. 7.5CVE-2021-45794slims senayan library management systemEPSS 1.1%

    Slims9 Bulian 9.4.2 is affected by SQL injection in /admin/modules/system/backup.php. User data can be obtained.

  16. 7.5CVE-2021-45793slims senayan library management systemEPSS 4.5%

    Slims9 Bulian 9.4.2 is affected by SQL injection in lib/comment.inc.php. User data can be obtained.

  17. 8.8CVE-2021-45791slims senayan library management systemEPSS 1.0%

    Slims8 Akasia 8.3.1 is affected by SQL injection in /admin/modules/bibliography/index.php, /admin/modules/membership/member_type.php, /admin/modules/system/user_group.php, and /admin/modules/membership/index.php through the dir parameter. …

  18. 9.8CVE-2022-26293online project time management system project online project time management systemEPSS 2.2%

    Online Project Time Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in the function save_employee at /ptms/classes/Users.php.

  19. 8.8CVE-2021-45821btiteam xbtitEPSS 2.7%

    A blind SQL injection vulnerability exists in Xbtit 3.1 via the sid parameter in ajaxchat/getHistoryChatData.php file that is accessible by a registered user. As a result, a malicious user can extract sensitive data such as usernames and p…

  20. 9.8CVE-2022-25494online banking system project online banking systemEPSS 1.1%

    Online Banking System v1.0 was discovered to contain a SQL injection vulnerability via staff_login.php.

  21. 9.8CVE-2022-25492hospital management system project hospital management systemEPSS 1.6%

    HMS v1.0 was discovered to contain a SQL injection vulnerability via the medicineid parameter in ajaxmedicine.php.

  22. 7.5CVE-2022-25491hospital management system project hospital management systemEPSS 1.5%

    HMS v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in appointment.php.

  23. 9.8CVE-2022-25490hospital management system project hospital management systemEPSS 1.6%

    HMS v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in department.php.

  24. 9.8CVE-2022-25488thedigitalcraft atomcmsEPSS 7.1%

    Atom CMS v2.0 was discovered to contain a SQL injection vulnerability via the id parameter in /admin/ajax/avatar.php.

  25. 9.8CVE-2022-24752sylius syliusgridbundleEPSS 1.4%

    SyliusGridBundle is a package of generic data grids for Symfony applications. Prior to versions 1.10.1 and 1.11-rc2, values added at the end of query sorting were passed directly to the database. The maintainers do not know if this could l…

  26. 8.8CVE-2022-22735sedlex simple quotationEPSS 1.3%

    The Simple Quotation WordPress plugin through 1.3.2 does not have authorisation (and CSRF) checks in various of its AJAX actions and is lacking escaping of user data when using it in SQL statements, allowing any authenticated users, such a…

  27. 9.8CVE-2022-0658wielebenwir commonsbookingEPSS 7.5%

    The CommonsBooking WordPress plugin before 2.6.8 does not sanitise and escape the location parameter of the calendar_data AJAX action (available to unauthenticated users) before it is used in dynamically constructed SQL queries, leading to…

  28. 8.8CVE-2022-0478mage-people event manager and tickets selling for woocommerceEPSS 1.5%

    The Event Manager and Tickets Selling for WooCommerce WordPress plugin before 3.5.8 does not validate and escape the post_author_gutenberg parameter before using it in a SQL statement when creating/editing events, which could allow users w…

  29. 9.8CVE-2022-0254highfivery zero-spamEPSS 2.0%

    The WordPress Zero Spam WordPress plugin before 5.2.11 does not properly sanitise and escape the order and orderby parameters before using them in a SQL statement in the admin dashboard, leading to a SQL injection

  30. 9.8CVE-2022-016910web photo galleryExploitEPSS 75%

    The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and auth…

  31. 9.8CVE-2021-25007molie instructure canvas linking tool project molie instructure canvas linking toolEPSS 1.6%

    The MOLIE WordPress plugin through 0.5 does not validate and escape a post parameter before using in a SQL statement, leading to an SQL Injection

  32. 8.8CVE-2021-24959techspawn wp-email-usersEPSS 2.2%

    The WP Email Users WordPress plugin through 1.7.6 does not escape the data_raw parameter in the weu_selected_users_1 AJAX action, available to any authenticated users, allowing them to perform SQL injection attacks.

  33. 7.2CVE-2021-32474moodleEPSS 0.9%

    An SQL injection risk existed on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host. Note that this required site administrator access or access to the keypair. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8…

  34. 6.5CVE-2022-25506freetakserver-ui project freetakserver-uiEPSS 0.9%

    FreeTAKServer-UI v1.9.8 was discovered to contain a SQL injection vulnerability via the API endpoint /AuthenticateUser.

  35. 7.2CVE-2022-25225softinventive network olympusEPSS 3.0%

    Network Olympus version 1.8.0 allows an authenticated admin user to inject SQL queries in '/api/eventinstance' via the 'sqlparameter' JSON parameter. It is also possible to achieve remote code execution in the default installation (Postgre…

  36. 9.8CVE-2022-24607luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/news/news_ok.php.

  37. 9.8CVE-2022-24606luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/news/sort_ok.php.

  38. 9.8CVE-2022-24605luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/link/link_ok.php.

  39. 9.8CVE-2022-24604luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/link/link_mod.php.

  40. 9.8CVE-2022-24603luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/news/sort_mod.php.

  41. 9.8CVE-2022-24602luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/news/news_mod.php.

  42. 7.5CVE-2022-24601luocms project luocmsEPSS 1.2%

    Luocms v2.0 is affected by SQL Injection in /admin/manager/admin_mod.php. An attacker can obtain sensitive information through SQL injection statements.

  43. 9.8CVE-2022-24600luocms project luocmsEPSS 1.3%

    Luocms v2.0 is affected by SQL Injection through /admin/login.php. An attacker can log in to the background through SQL injection statements.

  44. 8.8CVE-2022-0507pandorafms pandora fmsEPSS 1.2%

    Found a potential security vulnerability inside the Pandora API. Affected Pandora FMS version range: all versions of NG version, up to OUM 759. This vulnerability could allow an attacker with authenticated IP to inject SQL.

  45. 6.5CVE-2021-43969quicklertEPSS 1.5%

    The login.jsp page of Quicklert for Digium 10.0.0 (1043) is affected by both Blind SQL Injection with Out-of-Band Interaction (DNS) and Blind Time-Based SQL Injections. Exploitation can be used to disclose all data within the database (up …

  46. 7.2CVE-2022-24281siemens sinec network management systemEPSS 3.5%

    A vulnerability has been identified in SINEC NMS (All versions < V1.0.3), SINEMA Server V14 (All versions). A privileged authenticated attacker could execute arbitrary commands in the local database by sending specially crafted requests to…

  47. 6.5CVE-2022-0754salesagility suitecrmEPSS 0.8%

    SQL Injection in GitHub repository salesagility/suitecrm prior to 7.12.5.

  48. 8.8CVE-2022-0439icegram email subscribers \& newslettersEPSS 4.2%

    The Email Subscribers & Newsletters WordPress plugin before 5.3.2 does not correctly escape the `order` and `orderby` parameters to the `ajax_fetch_report_list` action, making it vulnerable to blind SQL injection attacks by users with role…

  49. 9.8CVE-2022-0434a3rev page view countEPSS 15%

    The Page View Count WordPress plugin before 2.4.15 does not sanitise and escape the post_ids parameter before using it in a SQL statement via a REST endpoint, available to both unauthenticated and authenticated users. As a result, unauthen…

  50. 7.2CVE-2022-0420metagauss registrationmagicEPSS 1.5%

    The RegistrationMagic WordPress plugin before 5.0.2.2 does not sanitise and escape the rm_form_id parameter before using it in a SQL statement in the Automation admin dashboard, allowing high privilege users to perform SQL injection attacks