cve.bz

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

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-36594mybatis mapperEPSS 0.9%

    Mapper v4.0.0 to v4.2.0 was discovered to contain a SQL injection vulnerability via the ids parameter at the selectByIds function.

  2. 9.8CVE-2022-36759oretnom23 online food ordering systemEPSS 1.3%

    Online Food Ordering System v1.0 was discovered to contain a SQL injection vulnerability via the component /dishes.php?res_id=.

  3. 6.5CVE-2022-2238redhat advanced cluster management for kubernetesEPSS 1.0%

    A vulnerability was found in the search-api container in Red Hat Advanced Cluster Management for Kubernetes when a query in the search filter gets parsed by the backend. This flaw allows an attacker to craft specific strings containing spe…

  4. 7.2CVE-2022-36676simple task scheduling system project simple task scheduling systemEPSS 1.0%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /categories/view_category.php.

  5. 7.2CVE-2022-36675simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /schedules/manage_schedule.php.

  6. 7.2CVE-2022-36674simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /schedules/view_schedule.php.

  7. 9.8CVE-2022-36201doctor\'s appointment system project doctor\'s appointment systemEPSS 2.5%

    Doctor’s Appointment System v1.0 is vulnerable to Blind SQLi via settings.php.

  8. 7.5CVE-2022-36581online ordering system project online ordering systemEPSS 1.0%

    Online Ordering System v2.3.2 was discovered to contain a SQL injection vulnerability via the user_email parameter at /admin/login.php.

  9. 6.5CVE-2022-38812aerocms project aerocmsEPSS 3.3%

    AeroCMS 0.1.1 is vulnerable to SQL Injection via the author parameter.

  10. 8.8CVE-2022-1552postgresqlEPSS 16%

    A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amc…

  11. 9.8CVE-2022-36735library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the bookId parameter at /admin/delete.php.

  12. 9.8CVE-2022-36734library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the RollNo parameter at /admin/delstu.php.

  13. 9.8CVE-2022-36733library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the M_Id parameter at /admin/del.php.

  14. 9.8CVE-2022-36732library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /librarian/dele.php.

  15. 9.8CVE-2022-36731library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the RollNo parameter at /librarian/delstu.php.

  16. 9.8CVE-2022-36730library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the bookId parameter at /librarian/delete.php.

  17. 8.8CVE-2022-38118hgiga oaklouds portalEPSS 1.8%

    OAKlouds Portal website’s Meeting Room has insufficient validation for user input. A remote attacker with general user privilege can perform SQL-injection to access, modify, delete database, perform system operations and disrupt service.

  18. 9.8CVE-2022-36714library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Section parameter at /staff/lab.php.

  19. 9.8CVE-2022-36713library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Section parameter at /librarian/lab.php.

  20. 9.8CVE-2022-36712library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/studentdetails.php.

  21. 9.8CVE-2022-36711library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/bookdetails.php.

  22. 9.8CVE-2022-36709library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/edit_book_details.php.

  23. 7.2CVE-2022-2559wpmanageninja fluent supportEPSS 1.2%

    The Fluent Support WordPress plugin before 1.5.8 does not properly sanitise, validate and escape various parameters before using them in an SQL statement, leading to an SQL Injection vulnerability exploitable by high privilege users

  24. 7.2CVE-2022-1123mapsmarker leaflet maps markerEPSS 1.3%

    The Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps) WordPress plugin before 3.12.5 does not properly sanitize some parameters before inserting them into SQL queries. As a result, high privilege users could perform SQL injection…

  25. 8.8CVE-2022-36690ingredient stock management system project ingredient stock management systemEPSS 1.0%

    Ingredients Stock Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/?page=user/manage_user&id=.

  26. 8.8CVE-2022-36689ingredient stock management system project ingredient stock management systemEPSS 1.1%

    Ingredients Stock Management System v1.0 was discovered to contain a SQL injection vulnerability via the month parameter at /admin/?page=reports/waste&month=.

  27. 8.8CVE-2022-36688ingredient stock management system project ingredient stock management systemEPSS 1.1%

    Ingredients Stock Management System v1.0 was discovered to contain a SQL injection vulnerability via the month parameter at /admin/?page=reports/stockout&month=.

  28. 8.8CVE-2022-36686ingredient stock management system project ingredient stock management systemEPSS 1.1%

    Ingredients Stock Management System v1.0 was discovered to contain a SQL injection vulnerability via the month parameter at /admin/?page=reports/stockin&month=.

  29. 9.8CVE-2022-22897apollotheme ap pagebuilderEPSS 13%

    A SQL injection vulnerability in the product_all_one_img and image_product parameters of the ApolloTheme AP PageBuilder component through 2.4.4 for PrestaShop allows unauthenticated attackers to exfiltrate database data.

  30. 9.8CVE-2022-36708library management system project library management systemEPSS 1.1%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Id parameter at /student/bookdetails.php.

  31. 9.8CVE-2022-36706ingredients stock management system project ingredients stock management systemEPSS 1.1%

    Ingredients Stock Management System v1.0 was discovered to contain a SQL injection vulnerability via the Id parameter at /stocks/manage_stockout.php.

  32. 9.8CVE-2022-36705ingredients stock management system project ingredients stock management systemEPSS 1.1%

    Ingredients Stock Management System v1.0 was discovered to contain a SQL injection vulnerability via the Id parameter at /stocks/manage_waste.php.

  33. 8.8CVE-2022-36704library management system project library management systemEPSS 1.1%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Id parameter at /librarian/studentdetails.php.

  34. 9.8CVE-2022-3013simple task managing system project simple task managing systemEPSS 0.6%

    A vulnerability classified as critical has been found in SourceCodester Simple Task Managing System. This affects an unknown part of the file /loginVaLidation.php. The manipulation of the argument login leads to sql injection. It is possib…

  35. 8.8CVE-2022-3012fast food ordering system project fast food ordering systemEPSS 0.8%

    A vulnerability was found in oretnom23 Fast Food Ordering System. It has been rated as critical. Affected by this issue is some unknown functionality of the file ffos/admin/reports/index.php. The manipulation of the argument date leads to …

  36. 9.8CVE-2022-36545hashenudara edoc-doctor-appointment-systemEPSS 1.3%

    Edoc-doctor-appointment-system v1.0.1 was discovered to contain a SQL injection vulnerability via the id parameter at /patient/settings.php.

  37. 9.8CVE-2022-36544hashenudara edoc-doctor-appointment-systemEPSS 1.3%

    Edoc-doctor-appointment-system v1.0.1 was discovered to contain a SQL injection vulnerability via the id parameter at /patient/booking.php.

  38. 9.8CVE-2022-36543hashenudara edoc-doctor-appointment-systemEPSS 1.3%

    Edoc-doctor-appointment-system v1.0.1 was discovered to contain a SQL injection vulnerability via the id parameter at /patient/doctors.php.

  39. 8.8CVE-2022-36529kensite cms project kensite cmsEPSS 1.1%

    Kensite CMS v1.0 was discovered to contain multiple SQL injection vulnerabilities via the name and oldname parameters at /framework/mod/db/DBMapper.xml.

  40. 9.8CVE-2022-37152online diagnostic lab management system project online diagnostic lab management systemEPSS 1.1%

    An issue was discovered in Online Diagnostic Lab Management System 1.0, There is a SQL injection vulnerability via "dob" parameter in "/classes/Users.php?f=save_client"

  41. 9.8CVE-2022-36683simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=delete_payment.

  42. 9.8CVE-2022-36682simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=delete_student.

  43. 9.8CVE-2022-36681simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=delete_account.

  44. 9.8CVE-2022-36680simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=delete_schedule.

  45. 9.8CVE-2022-36679simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/?page=user/manage_user.

  46. 9.8CVE-2022-36678simple task scheduling system project simple task scheduling systemEPSS 1.1%

    Simple Task Scheduling System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=delete_category.

  47. 8.8CVE-2022-36721library management system project library management systemEPSS 1.1%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Textbook parameter at /admin/modify.php.

  48. 8.8CVE-2022-36720library management system project library management systemEPSS 1.1%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/modify1.php.

  49. 9.8CVE-2022-36719library management system project library management systemEPSS 1.1%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the ok parameter at /admin/history.php.

  50. 9.8CVE-2022-36716library management system project library management systemEPSS 1.0%

    Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/changestock.php.