cve.bz

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

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-4860kbase metricsEPSS 0.6%

    A vulnerability was found in KBase Metrics. It has been classified as critical. This affects the function upload_user_data of the file source/daily_cron_jobs/methods_upload_user_stats.py. The manipulation leads to sql injection. The patch …

  2. 9.8CVE-2022-4855lead management system project lead management systemEPSS 25%

    A vulnerability, which was classified as critical, was found in SourceCodester Lead Management System 1.0. Affected is an unknown function of the file login.php. The manipulation of the argument username leads to sql injection. It is possi…

  3. 7.2CVE-2022-44137sanitization management system project sanitization management systemEPSS 0.9%

    SourceCodester Sanitization Management System 1.0 is vulnerable to SQL Injection.

  4. 9.8CVE-2018-25057mikebharris simple php link shortenerEPSS 0.6%

    A vulnerability was found in simple_php_link_shortener. It has been classified as critical. Affected is an unknown function of the file index.php. The manipulation of the argument $link["id"] leads to sql injection. The name of the patch i…

  5. 8.8CVE-2017-20150challenge website project challenge websiteEPSS 0.7%

    A vulnerability was found in challenge website. It has been rated as critical. This issue affects some unknown processing. The manipulation leads to sql injection. The name of the patch is f1644b1d3502e5aa5284f31ea80d2623817f4d42. It is re…

  6. 9.8CVE-2021-4290fallstudie project fallstudieEPSS 0.7%

    A vulnerability was found in DHBW Fallstudie. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file app/config/passport.js of the component Login. The manipulation of the argument id/email…

  7. 9.8CVE-2022-46442dedecmsEPSS 0.6%

    dedecms <=V5.7.102 is vulnerable to SQL Injection. In sys_ sql_ n query.php there are no restrictions on the sql query.

  8. 9.8CVE-2022-4726sanitization management system project sanitization management systemEPSS 0.5%

    A vulnerability classified as critical was found in SourceCodester Sanitization Management System 1.0. Affected by this vulnerability is an unknown functionality of the component Admin Login. The manipulation of the argument username/passw…

  9. 9.8CVE-2022-46764trueconf serverEPSS 2.3%

    A SQL injection issue in the web API in TrueConf Server 5.2.0.10225 (fixed in 5.2.6.10025) allows remote unauthenticated attackers to execute arbitrary SQL commands, ultimately leading to remote code execution.

  10. 8.8CVE-2022-46763trueconf serverEPSS 1.2%

    A SQL injection issue in a database stored function in TrueConf Server 5.2.0.10225 (fixed in 5.2.6.10025) allows a low-privileged database user to execute arbitrary SQL commands as the database administrator, resulting in execution of arbi…

  11. 9.8CVE-2020-24600capexweb project capexwebEPSS 0.9%

    Shilpi CAPExWeb 1.1 allows SQL injection via a servlet/capexweb.cap_sendMail GET request.

  12. 6.5CVE-2022-4161contest-gallery contest galleryEPSS 0.9%

    The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the cg_copy_start POST parameter before concatenating it to an SQL query in copy-gallery-images.php. This may allow ma…

  13. 6.5CVE-2022-4151contest-gallery contest galleryEPSS 0.9%

    The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the option_id GET parameter before concatenating it to an SQL query in export-images-data.php. This may allow maliciou…

  14. 9.8CVE-2022-4739school dormitory management system project school dormitory management systemEPSS 0.5%

    A vulnerability classified as critical was found in SourceCodester School Dormitory Management System 1.0. Affected by this vulnerability is an unknown functionality of the component Admin Login. The manipulation leads to sql injection. Th…

  15. 9.8CVE-2022-4737blood bank management system project blood bank management systemEPSS 0.7%

    A vulnerability was found in SourceCodester Blood Bank Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file login.php. The manipulation of the argument username/password leads to sql …

  16. 9.8CVE-2020-36631dwc network server emulator project dwc network server emulatorEPSS 0.7%

    A vulnerability was found in barronwaffles dwc_network_server_emulator. It has been declared as critical. This vulnerability affects the function update_profile of the file gamespy/gs_database.py. The manipulation of the argument firstname…

  17. 9.8CVE-2020-36630sangoma freepbxEPSS 0.7%

    A vulnerability was found in FreePBX cdr 14.0. It has been classified as critical. This affects the function ajaxHandler of the file ucp/Cdr.class.php. The manipulation of the argument limit/offset leads to sql injection. Upgrading to vers…

  18. 8.8CVE-2021-4276dns-stats hedgehogEPSS 0.7%Unsupported when assigned

    A vulnerability was found in dns-stats hedgehog. It has been rated as problematic. Affected by this issue is the function DSCIOManager::dsc_import_input_from_source of the file src/DSCIOManager.cpp. The manipulation leads to sql injection.…

  19. 9.8CVE-2022-44015simmeth lieferantenmanagerEPSS 1.2%

    An issue was discovered in Simmeth Lieferantenmanager before 5.6. An attacker can inject raw SQL queries. By activating MSSQL features, the attacker is able to execute arbitrary commands on the MSSQL server via the xp_cmdshell extended pro…

  20. 7.2CVE-2022-45889planetestream planet estreamEPSS 1.3%

    Planet eStream before 6.72.10.07 allows a remote attacker (who is a publisher or admin) to obtain access to all records stored in the database, and achieve the ability to execute arbitrary SQL commands, via Search (the StatisticsResults.as…

  21. 4.3CVE-2022-43860ibm iEPSS 0.5%

    IBM Navigator for i 7.3, 7.4, and 7.5 could allow an authenticated user to obtain sensitive information they are authorized to but not while using this interface. By performing an SQL injection an attacker could see user profile attribute…

  22. 4.3CVE-2022-43859ibm iEPSS 0.6%

    IBM Navigator for i 7.3, 7.4, and 7.5 could allow an authenticated user to obtain sensitive information for an object they are authorized to but not while using this interface. By performing a UNION based SQL injection an attacker could se…

  23. 9.8CVE-2022-1887mozilla firefoxEPSS 0.6%

    The search term could have been specified externally to trigger SQL injection. This vulnerability affects Firefox for iOS < 101.

  24. 7.5CVE-2022-45041rockoa xinhuEPSS 0.8%

    SQL Injection exits in xinhu < 2.5.0

  25. 9.8CVE-2021-4262laravel jqgrid project laravel jqgridEPSS 0.7%

    A vulnerability classified as critical was found in laravel-jqgrid. Affected by this vulnerability is the function getRows of the file src/Mgallegos/LaravelJqgrid/Repositories/EloquentRepositoryAbstract.php. The manipulation leads to sql i…

  26. 9.8CVE-2021-4261pacman-canvas project pacman-canvasEPSS 0.7%

    A vulnerability classified as critical has been found in pacman-canvas up to 1.0.5. Affected is the function addHighscore of the file data/db-handler.php. The manipulation leads to sql injection. It is possible to launch the attack remotel…

  27. 9.8CVE-2022-4427otrsEPSS 0.8%

    Improper Input Validation vulnerability in OTRS AG OTRS, OTRS AG ((OTRS)) Community Edition allows SQL Injection via TicketSearch Webservice This issue affects OTRS: from 7.0.1 before 7.0.40 Patch 1, from 8.0.1 before 8.0.28 Patch 1; ((OTR…

  28. 7.5CVE-2016-20018knexjs knexEPSS 1.1%

    Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be exploited to ignore the WHERE clause of a SQL query.

  29. 9.8CVE-2022-4592crmx project crmxEPSS 0.5%

    A vulnerability was found in luckyshot CRMx and classified as critical. This issue affects the function get/save/delete/comment/commentdelete of the file index.php. The manipulation leads to sql injection. The attack may be initiated remot…

  30. 9.8CVE-2021-4246roxlukas lmeveEPSS 0.6%

    A vulnerability was found in roxlukas LMeve and classified as critical. Affected by this issue is some unknown functionality of the component Login Page. The manipulation of the argument X-Forwarded-For leads to sql injection. The attack m…

  31. 9.8CVE-2021-31650online grading system project online grading systemEPSS 1.5%

    A SQL injection vulnerability in Sourcecodester Online Grading System 1.0 allows remote attackers to execute arbitrary SQL commands via the uname parameter.

  32. 9.8CVE-2022-4566ruoyiEPSS 0.9%

    A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. This issue affects some unknown processing of the file com/ruoyi/generator/controller/GenController. The manipulation leads to sql injection. The n…

  33. 5.5CVE-2022-42535google androidEPSS 0.2%

    In a query in MmsSmsProvider.java, there is a possible access to restricted tables due to SQL injection. This could lead to local information disclosure with User execution privileges needed. User interaction is not needed for exploitation…

  34. 5.5CVE-2022-20518google androidEPSS 0.2%

    In query of MmsSmsProvider.java, there is a possible access to restricted tables due to SQL injection. This could lead to local information disclosure with User execution privileges needed. User interaction is not needed for exploitation.P…

  35. 5.5CVE-2022-20517google androidEPSS 0.2%

    In getMessagesByPhoneNumber of MmsSmsProvider.java, there is a possible access to restricted tables due to SQL injection. This could lead to local information disclosure with no additional execution privileges needed. User interaction is n…

  36. 9.8CVE-2022-44588blocksera cryptocurrency widgets packEPSS 2.5%

    Unauth. SQL Injection vulnerability in Cryptocurrency Widgets Pack Plugin <=1.8.1 on WordPress.

  37. 9.8CVE-2022-38488logrocket-oauth2-example project logrocket-oauth2-exampleEPSS 14%

    logrocket-oauth2-example through 2020-05-27 allows SQL injection via the /auth/register username parameter.

  38. 8.8CVE-2022-46443bangresto project bangrestoEPSS 38%

    mesinkasir Bangresto 1.0 is vulnberable to SQL Injection via the itemqty%5B%5D parameter.

  39. 9.8CVE-2022-46072helmet store showroom project helmet store showroomEPSS 1.3%

    Helmet Store Showroom v1.0 vulnerable to unauthenticated SQL Injection.

  40. 9.8CVE-2022-46071helmet store showroom site project helmet store showroom siteEPSS 4.9%

    There is SQL Injection vulnerability at Helmet Store Showroom v1.0 Login Page. This vulnerability can be exploited to bypass admin access.

  41. 7.2CVE-2022-46127helmet store showroom site project helmet store showroom siteEPSS 0.9%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/classes/Master.php?f=delete_product.

  42. 7.2CVE-2022-46126helmet store showroom site project helmet store showroom siteEPSS 0.9%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/brands/manage_brand.php?id=.

  43. 7.2CVE-2022-46125helmet store showroom site project helmet store showroom siteEPSS 0.9%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/?page=client/manage_client&id=.

  44. 7.2CVE-2022-46124helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/?page=user/manage_user&id=.

  45. 7.2CVE-2022-46123helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/categories/manage_category.php?id=.

  46. 7.2CVE-2022-46122helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/categories/view_category.php?id=.

  47. 7.2CVE-2022-46121helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/?page=products/manage_product&id=.

  48. 7.2CVE-2022-46120helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/admin/?page=products/view_product&id=.

  49. 7.2CVE-2022-46119helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/?page=categories&c=.

  50. 7.2CVE-2022-46118helmet store showroom site project helmet store showroom siteEPSS 0.8%

    Helmet Store Showroom Site v1.0 is vulnerable to SQL Injection via /hss/?page=product_per_brand&bid=.