cve.bz

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

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-2023-30018judging management system project judging management systemEPSS 0.8%

    Judging Management System v1.0 is vulnerable to SQL Injection. via /php-jms/review_se_result.php?mainevent_id=.

  2. 9.8CVE-2016-15031php-login project php-loginEPSS 0.8%

    A vulnerability was found in PHP-Login 1.0. It has been declared as critical. This vulnerability affects the function checkLogin of the file login/scripts/class.loginscript.php of the component POST Parameter Handler. The manipulation of t…

  3. 7.5CVE-2023-30243netentsec application security gatewayEPSS 0.6%

    Beijing Netcon NS-ASG Application Security Gateway v6.3 is vulnerable to SQL Injection via TunnelId that allows access to sensitive information.

  4. 9.8CVE-2023-30242netentsec application security gatewayEPSS 0.6%

    NS-ASG v6.3 was discovered to contain a SQL injection vulnerability via the component /admin/add_ikev2.php.

  5. 9.8CVE-2023-30203judging management system project judging management systemEPSS 0.8%

    Judging Management System v1.0 was discovered to contain a SQL injection vulnerability via the event_id parameter at /php-jms/result_sheet.php.

  6. 9.8CVE-2023-2519catontechnology ctp relay serverEPSS 0.6%

    A vulnerability has been found in Caton CTP Relay Server 1.2.9 and classified as critical. This vulnerability affects unknown code of the file /server/api/v1/login of the component API. The manipulation of the argument username/password le…

  7. 6.4CVE-2023-23470ibm iEPSS 0.5%

    IBM i 7.2, 7.3, 7.4, and 7.5 could allow an authenticated privileged administrator to gain elevated privileges in non-default configurations, as a result of improper SQL processing. By using a specially crafted SQL operation, the administr…

  8. 8.7CVE-2022-4259nozominetworksEPSS 0.6%

    Due to improper input validation in the Alerts controller, a SQL injection vulnerability in Nozomi Networks Guardian and CMC allows an authenticated attacker to execute arbitrary SQL queries on the DBMS used by the web application.

  9. 9.8CVE-2023-30077judging management system project judging management systemEPSS 0.8%

    Judging Management System v1.0 by oretnom23 was discovered to vulnerable to SQL injection via /php-jms/review_result.php?mainevent_id=, mainevent_id.

  10. 8.8CVE-2023-29842churchcrmEPSS 1.3%

    ChurchCRM 4.5.4 endpoint /EditEventTypes.php is vulnerable to Blind SQL Injection (Time-based) via the EN_tyid POST parameter.

  11. 8.8CVE-2023-27568spryker commerce osEPSS 1.2%

    SQL injection vulnerability inSpryker Commerce OS 0.9 that allows for access to sensitive data via customer/order?orderSearchForm[searchText]=

  12. 9.8CVE-2023-30204judging management system project judging management systemEPSS 0.6%

    Judging Management System v1.0 was discovered to contain a SQL injection vulnerability via the judge_id parameter at /php-jms/edit_judge.php.

  13. 8.8CVE-2023-31433evasysEPSS 0.9%

    A SQL injection issue in Logbuch in evasys before 8.2 Build 2286 and 9.x before 9.0 Build 2401 allows authenticated attackers to execute SQL statements via the welche parameter.

  14. 7.3CVE-2023-30944EPSS 1.1%

    The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in external Wiki method for listing pages. A remote attacker can send a specially crafted request to the affected application and execut…

  15. 9.8CVE-2023-1730supportcandyEPSS 41%

    The SupportCandy WordPress plugin before 3.1.5 does not validate and escape user input before using it in an SQL statement, which could allow unauthenticated attackers to perform SQL injection attacks

  16. 9.8CVE-2023-2451online dj management system project online dj management systemEPSS 0.7%

    A vulnerability was found in SourceCodester Online DJ Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /admin/bookings/view_details.php of the component GET Parameter Handler. The man…

  17. 9.8CVE-2023-2420mlecmsEPSS 0.7%

    A vulnerability was found in MLECMS 3.0. It has been rated as critical. This issue affects the function get_url in the library /upload/inc/lib/admin of the file upload\inc\include\common.func.php. The manipulation of the argument $_SERVER[…

  18. 6.5CVE-2023-2413oretnom23 ac repair and services systemEPSS 0.6%

    A vulnerability was found in SourceCodester AC Repair and Services System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /admin/bookings/manage_booking.php. The manipulation of…

  19. 6.5CVE-2023-2412oretnom23 ac repair and services systemEPSS 0.5%

    A vulnerability was found in SourceCodester AC Repair and Services System 1.0. It has been classified as critical. Affected is an unknown function of the file /admin/user/manage_user.php. The manipulation of the argument id leads to sql in…

  20. 6.5CVE-2023-2411oretnom23 ac repair and services systemEPSS 0.6%

    A vulnerability was found in SourceCodester AC Repair and Services System 1.0 and classified as critical. This issue affects some unknown processing of the file /admin/inquiries/view_inquiry.php. The manipulation of the argument id leads t…

  21. 6.5CVE-2023-2410oretnom23 ac repair and services systemEPSS 0.6%

    A vulnerability has been found in SourceCodester AC Repair and Services System 1.0 and classified as critical. This vulnerability affects unknown code of the file /admin/bookings/view_booking.php. The manipulation of the argument id leads …

  22. 6.5CVE-2023-2409oretnom23 ac repair and services systemEPSS 0.6%

    A vulnerability, which was classified as critical, was found in SourceCodester AC Repair and Services System 1.0. This affects an unknown part of the file /admin/services/view_service.php. The manipulation of the argument id leads to sql i…

  23. 6.5CVE-2023-2408oretnom23 ac repair and services systemEPSS 0.6%

    A vulnerability, which was classified as critical, has been found in SourceCodester AC Repair and Services System 1.0. Affected by this issue is some unknown functionality of the file services/view.php. The manipulation of the argument id …

  24. 9.8CVE-2023-26813wang.market wangmarketEPSS 1.0%

    SQL injection vulnerability in com.xnx3.wangmarket.plugin.dataDictionary.controller.DataDictionaryPluginController.java in wangmarket CMS 4.10 allows remote attackers to run arbitrary SQL commands via the TableName parameter to /plugin/dat…

  25. 9.8CVE-2023-26781chshcms mccmsEPSS 1.0%

    SQL injection vulnerability in mccms 2.6 allows remote attackers to run arbitrary SQL commands via Author Center ->Reader Comments ->Search.

  26. 9.8CVE-2023-2371online dj management system project online dj management systemEPSS 0.8%

    A vulnerability classified as critical was found in SourceCodester Online DJ Management System 1.0. Affected by this vulnerability is an unknown functionality of the file admin/inquiries/view_details.php of the component GET Parameter Hand…

  27. 9.8CVE-2023-2370online dj management system project online dj management systemEPSS 0.9%

    A vulnerability classified as critical has been found in SourceCodester Online DJ Management System 1.0. Affected is an unknown function of the file admin/events/manage_event.php of the component GET Parameter Handler. The manipulation of …

  28. 9.8CVE-2023-2369faculty evaluation system project faculty evaluation systemEPSS 0.7%

    A vulnerability was found in SourceCodester Faculty Evaluation System 1.0. It has been rated as critical. This issue affects some unknown processing of the file admin/manage_restriction.php. The manipulation of the argument id leads to sql…

  29. 9.8CVE-2023-2368faculty evaluation system project faculty evaluation systemEPSS 0.7%

    A vulnerability was found in SourceCodester Faculty Evaluation System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file index.php?page=manage_questionnaire. The manipulation of the argument id leads…

  30. 9.8CVE-2023-2367faculty evaluation system project faculty evaluation systemEPSS 0.7%

    A vulnerability was found in SourceCodester Faculty Evaluation System 1.0. It has been classified as critical. This affects an unknown part of the file /admin/manage_academic.php. The manipulation of the argument id leads to sql injection.…

  31. 9.8CVE-2023-2366faculty evaluation system project faculty evaluation systemEPSS 0.8%

    A vulnerability was found in SourceCodester Faculty Evaluation System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file ajax.php?action=delete_class. The manipulation of the argument id leads …

  32. 9.8CVE-2023-2365faculty evaluation system project faculty evaluation systemEPSS 0.7%

    A vulnerability has been found in SourceCodester Faculty Evaluation System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file ajax.php?action=delete_subject. The manipulation of the argum…

  33. 9.8CVE-2023-2363resort reservation system project resort reservation systemEPSS 0.8%

    A vulnerability, which was classified as critical, has been found in SourceCodester Resort Reservation System 1.0. This issue affects some unknown processing of the file view_room.php. The manipulation of the argument id leads to sql injec…

  34. 8.8CVE-2023-30850pimcoreEPSS 0.8%

    Pimcore is an open source data and experience management platform. Prior to version 10.5.21, a SQL Injection vulnerability exists in the admin translations API. Users should update to version 10.5.21 to receive a patch or, as a workaround,…

  35. 8.8CVE-2023-30849pimcoreEPSS 0.8%

    Pimcore is an open source data and experience management platform. Prior to version 10.5.21, A SQL injection vulnerability exists in the translation export API. Users should update to version 10.5.21 to receive a patch or, as a workaround,…

  36. 8.8CVE-2023-30848pimcoreEPSS 0.7%

    Pimcore is an open source data and experience management platform. Prior to version 10.5.21, the admin search find API has a SQL injection vulnerability. Users should upgrade to version 10.5.21 to receive a patch or, as a workaround, apply…

  37. 9.8CVE-2023-2348oretnom23 service provider management systemEPSS 0.8%

    A vulnerability was found in SourceCodester Service Provider Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /admin/user/manage_user.php. The manipulation of the argument id lead…

  38. 9.8CVE-2023-2347oretnom23 service provider management systemEPSS 0.8%

    A vulnerability was found in SourceCodester Service Provider Management System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /admin/services/manage_service.php. The manipulation of the argument …

  39. 9.8CVE-2023-2346oretnom23 service provider management systemEPSS 0.8%

    A vulnerability was found in SourceCodester Service Provider Management System 1.0. It has been classified as critical. This affects an unknown part of the file /admin/inquiries/view_inquiry.php. The manipulation of the argument id leads t…

  40. 9.8CVE-2023-2344oretnom23 service provider management systemEPSS 0.8%

    A vulnerability has been found in SourceCodester Service Provider Management System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /classes/Master.php?f=save_service of the component …

  41. 8.8CVE-2023-2338pimcoreEPSS 0.9%

    SQL Injection in GitHub repository pimcore/pimcore prior to 10.5.21.

  42. 9.8CVE-2023-30211ourphpEPSS 1.0%

    OURPHP <= 7.2.0 is vulnerable to SQL Injection.

  43. 7.5CVE-2023-30112medicine tracker system project medicine tracker systemEPSS 0.6%

    Medicine Tracker System in PHP 1.0.0 is vulnerable to SQL Injection.

  44. 9.8CVE-2023-27843ask for a quote project ask for a quoteEPSS 1.2%

    SQL injection vulnerability found in PrestaShop askforaquote v.5.4.2 and before allow a remote attacker to gain privileges via the QuotesProduct::deleteProduct component.

  45. 9.8CVE-2012-5872arc2 project arc2EPSS 0.8%

    ARC (aka ARC2) through 2011-12-01 allows blind SQL Injection in getTriplePatternSQL in ARC2_StoreSelectQueryHandler.php via comments in a SPARQL WHERE clause.

  46. 8.8CVE-2023-30839prestashopEPSS 1.7%

    PrestaShop is an Open Source e-commerce web application. Versions prior to 8.0.4 and 1.7.8.9 contain a SQL filtering vulnerability. A BO user can write, update, and delete in the database, even without having specific rights. PrestaShop 8.…

  47. 6.5CVE-2023-30545prestashopEPSS 0.9%

    PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, it is possible for a user with access to the SQL Manager (Advanced Options -> Database) to arbitrarily read any file on the operating system when…

  48. 8.8CVE-2023-0388random text project random textEPSS 0.9%

    The Random Text WordPress plugin through 0.3.0 does not properly sanitize and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by any authenticated users, such as subscribers.

  49. 9.8CVE-2023-26865brandsdistribution bdroppyEPSS 1.2%

    SQL injection vulnerability found in PrestaShop bdroppy v.2.2.12 and before allowing a remote attacker to gain privileges via the BdroppyCronModuleFrontController::importProducts component.

  50. 8.8CVE-2023-29849hockeycomputindo bang restoExploitEPSS 3.2%

    Bang Resto 1.0 was discovered to contain multiple SQL injection vulnerabilities via the btnMenuItemID, itemID, itemPrice, menuID, staffID, or itemqty parameter.