cve.bz

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

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-2021-46309oretnom23 employee and visitor gate pass logging systemEPSS 1.6%

    An SQL Injection vulnerability exists in Sourcecodester Employee and Visitor Gate Pass Logging System 1.0 via the username parameter.

  2. 9.8CVE-2021-46308online railway reservation system project online railway reservation systemEPSS 1.6%

    An SQL Injection vulnerability exists in Sourcecodester Online Railway Reservation Sysytem 1.0 via the sid parameter.

  3. 9.8CVE-2021-46307projectworlds online examination systemEPSS 1.6%

    An SQL Injection vulnerability exists in Projectworlds Online Examination System 1.0 via the eid parameter in account.php.

  4. 9.8CVE-2021-46201online resort management system project online resort management systemEPSS 1.6%

    An SQL Injection vulnerability exists in Sourcecodester Online Resort Management System 1.0 via the id parameterv in /orms/ node.

  5. 9.8CVE-2021-46200oretnom23 simple music cloud community systemEPSS 1.6%

    An SQL Injection vulnerability exists in Sourcecodester Simple Music Clour Community System 1.0 via the email parameter in /music/ajax.php.

  6. 9.8CVE-2021-46198courier management system project courier management systemEPSS 1.8%

    An SQL Injection vulnerability exists in Sourceodester Courier Management System 1.0 via the email parameter in /cms/ajax.php app.

  7. 9.8CVE-2022-23314mingsoft mcmsEPSS 1.6%

    MCMS v5.2.4 was discovered to contain a SQL injection vulnerability via /ms/mdiy/model/importJson.do.

  8. 9.8CVE-2021-46061computer and mobile repair shop management system project computer and mobile repair shop management systemEPSS 1.6%

    An SQL Injection vulnerability exists in Sourcecodester Computer and Mobile Repair Shop Management system (RSMS) 1.0 via the code parameter in /rsms/ node app.

  9. 9.8CVE-2021-44245covid 19 testing management system project covid 19 testing management systemEPSS 1.5%

    An SQL Injection vulnerability exists in Courcecodester COVID 19 Testing Management System (CTMS) 1.0 via the (1) username and (2) contactno parameters.

  10. 9.8CVE-2021-44244sourcecodester logistic hub parcel\'s management system project sourcecodester logistic hub parcel\'s management systemEPSS 1.3%

    An SQL Injection vulnerabiity exists in Sourcecodester Logistic Hub Parcel's Management System 1.0 via the username parameter in login.php.

  11. 9.8CVE-2021-44092code-projects pharmacy managementEPSS 1.3%

    An SQL Injection vulnerability exists in code-projects Pharmacy Management 1.0 via the username parameter in the administer login form.

  12. 9.8CVE-2021-44090sourcecodester online reviewer system project sourcecodester online reviewer systemEPSS 1.1%

    An SQL Injection vulnerability exists in Sourcecodester Online Reviewer System 1.0 via the password parameter.

  13. 7.2CVE-2022-23046phpipamExploitEPSS 25%

    PhpIPAM v1.4.4 allows an authenticated admin user to inject SQL sentences in the "subnet" parameter while searching a subnet via app/admin/routing/edit-bgp-mapping-search.php

  14. 9.8CVE-2021-46204taogogo taocmsEPSS 1.1%

    Taocms v3.0.2 was discovered to contain an arbitrary file read vulnerability via the path parameter. SQL injection vulnerability via taocms\include\Model\Article.php.

  15. 9.8CVE-2022-23305EPSS 67%

    By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLayout. The message converter, %m, is likely to always be included. This allows att…

  16. 7.5CVE-2021-38694softvibe sarabanEPSS 1.5%

    SoftVibe SARABAN for INFOMA 1.1 allows SQL Injection.

  17. 8.8CVE-2022-0258pimcoreEPSS 1.7%

    pimcore is vulnerable to Improper Neutralization of Special Elements used in an SQL Command

  18. 6.5CVE-2021-25037aioseo all in one seoEPSS 1.3%

    The All in One SEO WordPress plugin before 4.1.5.3 is affected by an authenticated SQL injection issue, which was discovered during an internal audit by the Jetpack Scan team, and could grant attackers access to privileged information from…

  19. 8.8CVE-2021-45406salonerp project salonerpEPSS 1.8%

    In SalonERP 3.0.1, a SQL injection vulnerability allows an attacker to inject payload using 'sql' parameter in SQL query while generating a report. Upon successfully discovering the login admin password hash, it can be decrypted to obtain …

  20. 9.8CVE-2022-0224dolibarr erp\/crmEPSS 2.0%

    dolibarr is vulnerable to Improper Neutralization of Special Elements used in an SQL Command

  21. 9.8CVE-2022-22055le-yan dental management system project le-yan dental management systemEPSS 2.5%

    The Le-yan dental management system contains an SQL-injection vulnerability. An unauthenticated remote attacker can inject SQL commands into the input field of the login page to acquire administrator’s privilege and perform arbitrary opera…

  22. 8.8CVE-2021-43971sysaidEPSS 1.8%

    A SQL injection vulnerability in /mobile/SelectUsers.jsp in SysAid ITIL 20.4.74 b10 allows a remote authenticated attacker to execute arbitrary SQL commands via the filterText parameter.

  23. 9.8CVE-2020-28103chshcms cscmsEPSS 1.1%

    cscms v4.1 allows for SQL injection via the "page_del" function.

  24. 9.8CVE-2020-28102chshcms cscmsEPSS 1.3%

    cscms v4.1 allows for SQL injection via the "js_del" function.

  25. 8.8CVE-2021-37197siemens comosEPSS 0.8%

    A vulnerability has been identified in COMOS V10.2 (All versions only if web components are used), COMOS V10.3 (All versions < V10.3.3.3 only if web components are used), COMOS V10.4 (All versions < V10.4.1 only if web components are used)…

  26. 7.2CVE-2022-21666useful simple open-source cms project useful simple open-source cmsEPSS 1.2%

    Useful Simple Open-Source CMS (USOC) is a content management system (CMS) for programmers. Versions prior to Pb2.4Bfx3 allowed Sql injection in usersearch.php only for users with administrative privileges. Users should replace the file `ad…

  27. 8.8CVE-2020-28679zohocorp manageengine applications managerEPSS 2.6%

    A vulnerability in the showReports module of Zoho ManageEngine Applications Manager before build 14550 allows authenticated attackers to execute a SQL injection via a crafted request.

  28. 8.8CVE-2021-25054wow-company wpcalcEPSS 1.4%

    The WPcalc WordPress plugin through 2.1 does not sanitize user input into the 'did' parameter and uses it in a SQL statement, leading to an authenticated SQL Injection vulnerability.

  29. 9.8CVE-2021-24949posimyth the plus addons for elementorEPSS 1.8%

    The "WP Search Filters" widget of The Plus Addons for Elementor - Pro WordPress plugin before 5.0.7 does not sanitise and escape the option parameter before using it in a SQL statement, which could lead to SQL injection

  30. 7.2CVE-2021-24862metagauss registrationmagicExploitEPSS 73%

    The RegistrationMagic WordPress plugin before 5.0.1.6 does not escape user input in its rm_chronos_ajax AJAX action before using it in a SQL statement when duplicating tasks in batches, which could lead to a SQL injection issue

  31. 9.8CVE-2021-45334online thesis archiving system project online thesis archiving systemEPSS 2.9%

    Sourcecodester Online Thesis Archiving System 1.0 is vulnerable to SQL Injection. An attacker can bypass admin authentication and gain access to admin panel using SQL Injection

  32. 8.8CVE-2022-21664EPSS 3.7%

    WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to lack of proper sanitization in one of the classes, there's potential for unintended SQL queries to be executed. This ha…

  33. 7.5CVE-2022-21661ExploitEPSS 98%

    WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that us…

  34. 7.2CVE-2022-21644useful simple open-source cms project useful simple open-source cmsEPSS 1.1%

    USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL injection via usersearch.php. In search terms provided by the user were not sanitized and were used directly to construct a sql statement. The …

  35. 9.8CVE-2022-21643useful simple open-source cms project useful simple open-source cmsEPSS 1.2%

    USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL injection via register.php. In particular usernames, email addresses, and passwords provided by the user were not sanitized and were used direc…

  36. 7.5CVE-2021-39978huawei harmonyosEPSS 0.7%

    Telephony application has a SQL Injection vulnerability.Successful exploitation of this vulnerability may cause privacy and security issues.

  37. 8.8CVE-2021-25030e-dynamics events made easyEPSS 1.4%

    The Events Made Easy WordPress plugin before 2.2.36 does not sanitise and escape the search_text parameter before using it in a SQL statement via the eme_searchmail AJAX action, available to any authenticated users. As a result, users with…

  38. 7.2CVE-2021-25023optimocha speed booster packEPSS 1.1%

    The Speed Booster Pack ⚡ PageSpeed Optimization Suite WordPress plugin before 4.3.3.1 does not escape the sbp_convert_table_name parameter before using it in a SQL statement to convert the related table, leading to an SQL injection

  39. 7.2CVE-2021-24786wpchill download monitorExploitEPSS 17%

    The Download Monitor WordPress plugin before 4.4.5 does not properly validate and escape the "orderby" GET parameter before using it in a SQL statement when viewing the logs, leading to an SQL Injection issue