Weaknesses of type CWE-89

13,409 results

Injeção SQL

Ocorre quando entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O aplicativo executa a consulta alterada, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Example

Um formulário de login que monta a query assim: `SELECT * FROM users WHERE email = '" + emailDoFormulario + "'`. Se o usuário digitar `admin'--`, a query vira `SELECT * FROM users WHERE email = 'admin'--'` e bypassa a validação de senha, autenticando como admin.

How to mitigate

Use prepared statements ou stored procedures com parâmetros vinculados (bind parameters). Em Java use PreparedStatement; em Python use placeholders com psycopg2 ou SQLAlchemy; em qualquer linguagem evite concatenação de strings. Combine com validação de entrada e princípio do menor privilégio no banco de dados.

CVE-2023-48645HIGHAn issue was discovered in the Archibus app 4.0.3 for iOS. It uses a local database that is synchronized with a Web central server instance EPSS 0.2%CVE-2018-25410HIGHSIM-PKH 2.4.1 SQL Injection via media.php id ParameterEPSS 0.2%CVE-2026-111700HIGHWebVella ERP through 1.8.8 SQL Injection via EQL Query APIEPSS 0.2%CVE-2025-29744MEDIUMpg-promise before 11.5.5 is vulnerable to SQL Injection due to improper handling of negative numbers.EPSS 0.2%CVE-2024-34930MEDIUMA SQL injection vulnerability in /model/all_events1.php in Campcodes Complete Web-Based School Management System 1.0 allows attacker to execEPSS 0.2%CVE-2016-20063HIGHSingle Personal Message 1.0.3 WordPress Plugin SQL InjectionEPSS 0.2%CVE-2025-15585MEDIUMFileflows versions before 25.05.2 are affected by an authenticated SQL injection vulnerability in the library-file search function. SuccessfEPSS 0.2%CVE-2026-108776—Apache Kylin: tables/names SparkSQL injectionEPSS 0.2%CVE-2025-8709HIGHSQL Injection in langchain-ai/langchainEPSS 0.2%CVE-2026-94124HIGHWordPress WP EasyCart plugin <= 5.9.4 - SQL Injection vulnerabilityEPSS 0.2%CVE-2026-88756MEDIUMPagekit CMS <= 1.0.18 allows an unauthenticated attacker to perform SQL injection through the credentials array submitted to the public logiEPSS 0.2%CVE-2026-89235MEDIUMTestimonials by BestWebSoft 1.0.5 - 1.0.8 - Unauthenticated SQLi via 'offset' ParameterEPSS 0.2%CVE-2026-93773HIGHWordPress Mollie Forms plugin <= 2.11.0 - SQL Injection vulnerabilityEPSS 0.2%CVE-2026-89237MEDIUMBluff Post <= 1.1.1 - Unauthenticated SQLi via 'table_name' and 'column_name' ParametersEPSS 0.2%CVE-2022-42535MEDIUMIn a query in MmsSmsProvider.java, there is a possible access to restricted tables due to SQL injection. This could lead to local informatioEPSS 0.2%CVE-2023-40992MEDIUMHospital Management System 4 is vulnerable to a SQL injection in /Hospital-Management-System-master/func.php via the password2 parameter.EPSS 0.2%CVE-2026-13746LOWSnowflake CLI SQL Injection Through Improper Neutralization of Local CLI ParametersEPSS 0.2%CVE-2025-30059MEDIUMAuthenticated SQL injection in PrepareCDExportJSON.plEPSS 0.2%CVE-2025-63719HIGHCampcodes Online Hospital Management System 1.0 is vulnerable to SQL Injection in /admin/index.php via the parameter username.EPSS 0.2%CVE-2026-85568MEDIUMUnlimited Elements For Elementor 1.5.139 - 2.0.20 - Unauthenticated SQLi via 'ucs' ParameterEPSS 0.2%