Weaknesses of type CWE-89

13,416 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-2025-48650HIGHIn multiple locations, there is a possible information disclosure due to SQL injection. This could lead to local escalation of privilege witEPSS 0.1%CVE-2025-32327HIGHIn multiple functions of PickerDbFacade.java, there is a possible unauthorized data access due to SQL injection. This could lead to local esEPSS 0.1%CVE-2025-48544HIGHIn multiple locations, there is a possible way to read files belonging to other apps due to SQL injection. This could lead to local escalatiEPSS 0.1%CVE-2026-0075HIGHIn multiple functions, there is a possible way to access the contacts database due to a SQL injection. This could lead to local escalation oEPSS 0.1%CVE-2026-116060MEDIUMSourceCodester Performance Indicator System adddealer.php sql injectionEPSS —CVE-2026-115999MEDIUMmansi-k Restaurant_IMS lsmodal.php mysqli_connect sql injectionEPSS —CVE-2026-116207HIGHYesWiki 4.6.0 before 4.7.0 SQL Injection via Bazar Entries Search APIEPSS —CVE-2026-116061MEDIUMSourceCodester Performance Indicator System edit_dealer.php sql injectionEPSS —CVE-2026-116048MEDIUMkrupalshah EmployeeRecruitmentSystem Registration registerform1.php mysql_query sql injectionEPSS —CVE-2026-116055MEDIUMSourceCodester Performance Indicator System deleteproduct.php sql injectionEPSS —CVE-2026-116170MEDIUMSiYuan before v3.8.7 SQL Injection via History Search op and queryEPSS —CVE-2026-116211HIGHYesWiki 4.5.0 before 4.7.0 SQL Injection via date_maj_fiche in Bazar entry createEPSS —CVE-2026-116062MEDIUMSourceCodester Performance Indicator System save_profile.php sql injectionEPSS —CVE-2026-116050MEDIUMkrupalshah Employee Recruitment System Registration registerform3.php sql injectionEPSS —CVE-2026-116049MEDIUMkrupalshah EmployeeRecruitmentSystem Registration Wizard registerform2.php mysql_query sql injectionEPSS —CVE-2026-115997MEDIUMpig-mesh pig SqlFilterArgumentResolver.java orderItem.getColumn sql injectionEPSS —