Weaknesses of type CWE-89

12,949 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-72565CRITICALTencent APIJSON - Unauthenticated SQL Injection via @having Operator Map-Form BypassEPSS 0.7%CVE-2023-4231CRITICALSQLi in Cevik Informatics' Online Payment SystemEPSS 0.7%CVE-2023-7176MEDIUMCampcodes Online College Library System HTTP POST Request return_add.php sql injectionEPSS 0.7%CVE-2024-2722CRITICALSQL injection vulnerability in the CIGESv2 systemEPSS 0.7%CVE-2022-2726MEDIUMSEMCMS Ant_Check.php sql injectionEPSS 0.7%CVE-2025-10810MEDIUMCampcodes Online Learning Management System edit_user.php sql injectionEPSS 0.7%CVE-2024-10156MEDIUMPHPGurukul Boat Booking System Sign In Page index.php sql injectionEPSS 0.7%CVE-2025-10811MEDIUMcode-projects Hostel Management System index.php sql injectionEPSS 0.7%CVE-2024-10157MEDIUMPHPGurukul Boat Booking System Reset Your Password Page password-recovery.php sql injectionEPSS 0.7%CVE-2023-41504HIGHSQL Injection vulnerability in Student Enrollment In PHP 1.0 allows attackers to run arbitrary code via the Student Search function.EPSS 0.7%CVE-2024-57521CRITICALSQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SEPSS 0.7%CVE-2024-6213MEDIUMSourceCodester Food Ordering Management System Login Panel login.php sql injectionEPSS 0.7%CVE-2025-55320MEDIUMConfiguration Manager Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2024-6308MEDIUMitsourcecode Simple Online Hotel Reservation System index.php sql injectionEPSS 0.7%CVE-2024-5117MEDIUMSourceCodester Event Registration System portal.php sql injectionEPSS 0.7%CVE-2024-12978MEDIUMcode-projects Job Recruitment _all_edits.php add_req sql injectionEPSS 0.7%CVE-2024-54145MEDIUMCacti has a SQL Injection vulnerability when request automation devicesEPSS 0.7%CVE-2024-7449MEDIUMitsourcecode Placement Management System login.php sql injectionEPSS 0.7%CVE-2024-10166MEDIUMCodezips Sales Management System checkuser.php sql injectionEPSS 0.7%CVE-2024-6111MEDIUMitsourcecode Pool of Bethesda Online Reservation System login.php sql injectionEPSS 0.7%