Weaknesses of type CWE-89

12,940 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-2023-1547CRITICALSQLi in Elra Computers ParkmatikEPSS 0.7%CVE-2023-2851CRITICALSQLi in CeppatronEPSS 0.7%CVE-2024-25309HIGHCode-projects Simple School Managment System 1.0 allows SQL Injection via the 'pass' parameter at School/teacher_login.php.EPSS 0.7%CVE-2024-25304HIGHCode-projects Simple School Managment System 1.0 allows SQL Injection via the 'apass' parameter at "School/index.php."EPSS 0.7%CVE-2025-45346HIGHSQL Injection vulnerability in Bacula-web before v.9.7.1 allows a remote attacker to execute arbitrary code via a crafted HTTP GET request.EPSS 0.7%CVE-2024-3258MEDIUMSourceCodester Internship Portal Management System add_activity.php sql injectionEPSS 0.7%CVE-2024-0301MEDIUMfhs-opensource iparking PayTempOrderAction.java getData sql injectionEPSS 0.7%CVE-2024-30871HIGHnetentsec NS-ASG 6.3 is vulnerable to SQL Injection via /WebPages/applyhardware.php.EPSS 0.7%CVE-2024-3256MEDIUMSourceCodester Internship Portal Management System edit_activity.php sql injectionEPSS 0.7%CVE-2024-3440MEDIUMSourceCodester Prison Management System edit_profile.php sql injectionEPSS 0.7%CVE-2026-71207CRITICALStock-Inventory-Management-System - Unauthenticated SQL Injection and Hardcoded Credentials in login.php Enable Full Authentication BypassEPSS 0.7%CVE-2024-3257MEDIUMSourceCodester Internship Portal Management System edit_activity_query.php sql injectionEPSS 0.7%CVE-2024-25312HIGHCode-projects Simple School Managment System 1.0 allows SQL Injection via the 'id' parameter at "School/sub_delete.php?id=5."EPSS 0.7%CVE-2025-46101CRITICALSQL Injection vulnerability in Beakon Software Beakon Learning Management System Sharable Content Object Reference Model (SCORM) version befEPSS 0.7%CVE-2024-13006MEDIUM1000 Projects Human Resource Management System employeeview.php sql injectionEPSS 0.7%CVE-2026-53448HIGHCoturn: SQL Injection in HTTPS Admin Panel Delete OperationsEPSS 0.7%CVE-2023-1765CRITICALSQLi in PanonEPSS 0.7%CVE-2023-1276MEDIUMSUL1SS_shop Order.php sql injectionEPSS 0.7%CVE-2023-0560MEDIUMSourceCodester Online Tours & Travels Management System practice_pdf.php sql injectionEPSS 0.7%CVE-2025-32867HIGHA vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injEPSS 0.7%