Weaknesses of type CWE-89

13,095 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-4725MEDIUMitsourcecode Placement Management System view_drive.php sql injectionEPSS 0.5%CVE-2025-4931MEDIUMprojectworlds Online Lawyer Management System user_registation.php sql injectionEPSS 0.5%CVE-2024-13000MEDIUMPHPGurukul Small CRM quote-details.php sql injectionEPSS 0.5%CVE-2025-5077MEDIUMCampcodes Online Shopping Portal edit-subcategory.php sql injectionEPSS 0.5%CVE-2024-33139HIGHJ2EEFAST v2.7.0 was discovered to contain a SQL injection vulnerability via the sql_filter parameter in the findpage function.EPSS 0.5%CVE-2025-6153MEDIUMPHPGurukul Hostel Management System students.php sql injectionEPSS 0.5%CVE-2025-4719MEDIUMCampcodes Sales and Inventory System cash_transaction.php sql injectionEPSS 0.5%CVE-2025-4818MEDIUMSourceCodester Doctor's Appointment System GET Parameter delete-doctor.php sql injectionEPSS 0.5%CVE-2024-2532MEDIUMMAGESH-K21 Online-College-Event-Hall-Reservation-System update-users.php sql injectionEPSS 0.5%CVE-2024-2528MEDIUMMAGESH-K21 Online-College-Event-Hall-Reservation-System update-rooms.php sql injectionEPSS 0.5%CVE-2025-4934MEDIUMPHPGurukul User Registration & Login and User Management System edit-profile.php sql injectionEPSS 0.5%CVE-2025-4746MEDIUMCampcodes Sales and Inventory System purchase_delete.php sql injectionEPSS 0.5%CVE-2025-5003MEDIUMprojectworlds Online Time Table Generator semester_ajax.php sql injectionEPSS 0.5%CVE-2025-4935MEDIUMSourceCodester Stock Management System changePassword.php sql injectionEPSS 0.5%CVE-2026-4470MEDIUMitsourcecode Online Frozen Foods Ordering System admin_edit_menu.php sql injectionEPSS 0.5%CVE-2025-4741MEDIUMCampcodes Sales and Inventory System purchase_add.php sql injectionEPSS 0.5%CVE-2025-4698MEDIUMPHPGurukul Directory Management System forget-password.php sql injectionEPSS 0.5%CVE-2020-5428MEDIUMPossibility of SQL Injection in Spring Cloud Task Execution Sorting QueryEPSS 0.5%CVE-2025-5977MEDIUMcode-projects School Fees Payment System datatable.php sql injectionEPSS 0.5%CVE-2025-4911MEDIUMPHPGurukul Zoo Management System view-foreigner-ticket.php sql injectionEPSS 0.5%