Weaknesses of type CWE-89

11,908 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-6407MEDIUMCampcodes Online Hospital Management System user-login.php sql injectionEPSS 0.4%CVE-2025-6447MEDIUMcode-projects Simple Online Hotel Reservation System index.php sql injectionEPSS 0.4%CVE-2025-6937MEDIUMcode-projects Simple Pizza Ordering System large.php sql injectionEPSS 0.4%CVE-2025-1708HIGHCVE-2025-1708EPSS 0.4%CVE-2025-7537MEDIUMCampcodes Sales and Inventory System product_update.php sql injectionEPSS 0.4%CVE-2025-2384MEDIUMcode-projects Real Estate Property Management System Parameter InsertCustomer.php sql injectionEPSS 0.4%CVE-2026-3133MEDIUMitsourcecode Document Management System Login loging.php sql injectionEPSS 0.4%CVE-2025-69991CRITICALphpgurukul News Portal Project V4.1 is vulnerable to SQL Injection in check_availablity.php.EPSS 0.4%CVE-2024-29386MEDIUMprojeqtor up to 11.2.0 was discovered to contain a SQL injection vulnerability via the component /view/criticalResourceExport.php.EPSS 0.4%CVE-2026-3413MEDIUMitsourcecode University Management System admin_single_student.php sql injectionEPSS 0.4%CVE-2026-26704CRITICALsourcecodester Pharmacy Point of Sale System v1.0 is vulnerable to SQL Injection in /pharmacy/view_category.php.EPSS 0.4%CVE-2026-4908MEDIUMcode-projects Simple Laundry System Parameter modstaffinfo.php sql injectionEPSS 0.4%CVE-2025-2419MEDIUMcode-projects Real Estate Property Management System InsertFeedback.php sql injectionEPSS 0.4%CVE-2026-38812CRITICALRuoYi v4.8.2 is vulnerable to SQL Injection via the /tool/gen/createTable endpoint. The issue affects the code generation module and may allEPSS 0.4%CVE-2019-25524HIGHXooGallery Lastest Latest SQL Injection via results.phpEPSS 0.4%CVE-2025-15196MEDIUMcode-projects Assessment Management login.php sql injectionEPSS 0.4%CVE-2026-26705CRITICALsourcecodester Pharmacy Point of Sale System v1.0 is vulnerable to SQL Injection in /pharmacy/view_product.php.EPSS 0.4%CVE-2025-8164MEDIUMcode-projects Public Chat Room send_message.php sql injectionEPSS 0.4%CVE-2026-1545MEDIUMitsourcecode School Management System index.php sql injectionEPSS 0.4%CVE-2019-25523HIGHXooGallery Lastest Latest SQL Injection via cat.phpEPSS 0.4%