Weaknesses of type CWE-89

13,413 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-2026-112088MEDIUMDav-ee dairy-management-system add.php mysqli_query sql injectionEPSS 0.2%CVE-2025-67408HIGHSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in /save_user.php via the parameter status.EPSS 0.2%CVE-2026-11507MEDIUMCodeAstro Leave Management System delete_leave_type.php sql injectionEPSS 0.2%CVE-2026-103114MEDIUMOS4ED openSIS-Classic Assignment Management Endpoint Assignments.php DBQuery_assignment sql injectionEPSS 0.2%CVE-2026-105186MEDIUMitsourcecode Online Admission System new.php sql injectionEPSS 0.2%CVE-2025-67407HIGHSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_student.php via parameters fname and student_cEPSS 0.2%CVE-2026-10235MEDIUMCodeAstro Ingredients Stock Management System stock_manager.php sql injectionEPSS 0.2%CVE-2026-104052MEDIUMitsourcecode Pet Shop Management System admin_reject_completed.php sql injectionEPSS 0.2%CVE-2026-11513MEDIUMitsourcecode Hospital Management System adminaccount.php sql injectionEPSS 0.2%CVE-2026-11510MEDIUMCodeAstro Leave Management System add_leave.php sql injectionEPSS 0.2%CVE-2026-10809MEDIUMitsourcecode Fees Management System manage_user.php sql injectionEPSS 0.2%CVE-2026-114252MEDIUMitsourcecode Sales-and-Inventory-System cust_searchfrm.php sql injectionEPSS 0.2%CVE-2026-10811MEDIUMitsourcecode Fees Management System receipt.php sql injectionEPSS 0.2%CVE-2026-113740MEDIUMitsourcecode Online Cake Ordering System deletecustomer.php sql injectionEPSS 0.2%CVE-2026-108959MEDIUMitsourcecode Online Cake Ordering System addtransacdetail.php sql injectionEPSS 0.2%CVE-2026-10256MEDIUMitsourcecode Content Management System save_comment.php sql injectionEPSS 0.2%CVE-2026-112090MEDIUMDav-ee dairy-management-system pay.php mysqli_real_escape_string sql injectionEPSS 0.2%CVE-2026-11495MEDIUMCodeAstro Ingredients Stock Management System add_stock.php sql injectionEPSS 0.2%CVE-2026-10808MEDIUMitsourcecode Fees Management System manage_student.php sql injectionEPSS 0.2%CVE-2025-67405HIGHSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_password.php via the parameter new_password.EPSS 0.2%