Weaknesses of type CWE-89

12,898 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-1134CRITICALSQL Injection in ChurchCRM CurrentFundraiser Parameter via DonatedItemEditor.phpEPSS 0.8%CVE-2023-27254CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2023-26569CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2023-1059MEDIUMSourceCodester Doctors Appointment System Parameter doctors.php sql injectionEPSS 0.8%CVE-2022-45329HIGHAeroCMS v0.0.1 was discovered to contain a SQL Injection vulnerability via the Search parameter. This vulnerability allows attackers to acceEPSS 0.8%CVE-2023-26572CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2023-27255CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2022-45019HIGHSLiMS 9 Bulian v9.5.0 was discovered to contain a SQL injection vulnerability via the keywords parameter.EPSS 0.8%CVE-2023-1061MEDIUMSourceCodester Doctors Appointment System edit-doc.php sql injectionEPSS 0.8%CVE-2023-26568CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2024-3424MEDIUMSourceCodester Online Courseware listscore.php sql injectionEPSS 0.8%CVE-2022-30619MEDIUMAgile Point - Agile Point NX SQL injection (SQLi)EPSS 0.8%CVE-2022-37773MEDIUMAn authenticated SQL Injection vulnerability in the statistics page (/statistics/retrieve) of Maarch RM 2.8, via the filter parameter, allowEPSS 0.8%CVE-2024-3456MEDIUMNetentsec NS-ASG Application Security Gateway config_Anticrack.php sql injectionEPSS 0.8%CVE-2024-3423MEDIUMSourceCodester Online Courseware activateteach.php sql injectionEPSS 0.8%CVE-2024-13038MEDIUMCodeAstro Simple Loan Management System Login index.php sql injectionEPSS 0.8%CVE-2024-3259MEDIUMSourceCodester Internship Portal Management System delete_activity.php sql injectionEPSS 0.8%CVE-2020-36768HIGHrl-institut NESP2 database.py sql injectionEPSS 0.8%CVE-2025-25354HIGHA SQL Injection was found in /admin/admin-profile.php in PHPGurukul Land Record System v1.0, which allows remote attackers to execute arbitrEPSS 0.8%CVE-2025-25356HIGHA SQL Injection vulnerability was found in /admin/bwdates-reports-details.php in PHPGurukul Land Record System v1.0, which allows remote attEPSS 0.8%