Weaknesses of type CWE-89

12,997 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-2024-6007MEDIUMNetentsec NS-ASG Application Security Gateway deleteiscgwrouteconf.php sql injectionEPSS 0.6%CVE-2024-51165HIGHSQL injection vulnerability in JEPAAS7.2.8, via /je/rbac/rbac/loadLoginCount in the dateVal parameter, which could allow a remote user to suEPSS 0.6%CVE-2025-1963MEDIUMprojectworlds Online Hotel Booking reservation.php sql injectionEPSS 0.6%CVE-2025-2655MEDIUMSourceCodester AC Repair and Services System Users.php delete_users sql injectionEPSS 0.6%CVE-2024-10279MEDIUMESAFENET CDG PrintPolicyService.java sql injectionEPSS 0.6%CVE-2024-10278MEDIUMESAFENET CDG ReUserOrganiseService.java sql injectionEPSS 0.6%CVE-2024-10277MEDIUMESAFENET CDG UsbKeyAjax.java sql injectionEPSS 0.6%CVE-2024-34480CRITICALSourceCodester Computer Laboratory Management System 1.0 allows admin/category/view_category.php id SQL Injection.EPSS 0.6%CVE-2025-0967MEDIUMcode-projects Chat System add_chatroom.php sql injectionEPSS 0.6%CVE-2023-37197HIGH A CWE-89: Improper Neutralization of Special Elements vulnerability used in an SQL Command ('SQL Injection') vulnerability exists that coEPSS 0.6%CVE-2026-33767HIGHAVideo has SQL Injection via Partial Prepared Statement — videos_id Concatenated Directly into QueryEPSS 0.6%CVE-2026-86460CRITICALApache Syncope: Cypher Injection via FIQL Search on Neo4j PersistenceEPSS 0.6%CVE-2024-2341HIGHAppointment Booking Calendar — Simply Schedule Appointments Booking Plugin <= 1.6.7.7 - Authenticated (Subscriber+) SQL InjectionEPSS 0.6%CVE-2025-50192HIGHChamilo: Time-based SQL Injection in /main/webservices/registration.soap.phpEPSS 0.6%CVE-2024-6795CRITICALVulnerability in Baxter Connex Health PortalEPSS 0.6%CVE-2023-36652MEDIUMA SQL Injection in the users searching REST API endpoint in ProLion CryptoSpike 3.0.15P2 allows remote authenticated attackers to read databEPSS 0.6%CVE-2025-50190HIGHChamilo: Error-based SQL Injection via GET openid.assoc_handle with the /index.php scriptEPSS 0.6%CVE-2023-37196HIGH A CWE-89: Improper Neutralization of Special Elements vulnerability used in an SQL Command ('SQL Injection') vulnerability exists that coulEPSS 0.6%CVE-2022-4259HIGHAuthenticated SQL Injection on Alerts in Guardian/CMC before 22.5.2EPSS 0.6%CVE-2025-5971MEDIUMcode-projects School Fees Payment System ajx.php sql injectionEPSS 0.6%