Weaknesses of type CWE-89

12,995 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-54921CRITICALA SQL Injection was found in /student_signup.php in kashipara E-learning Management System v1.0, which allows remote attackers to execute arEPSS 0.6%CVE-2024-42568CRITICALSchool Management System commit bae5aa was discovered to contain a SQL injection vulnerability via the transport parameter at vehicle.php.EPSS 0.6%CVE-2023-23737CRITICALWordPress MainWP Broken Links Checker Extension Plugin <= 4.0 is vulnerable to SQL InjectionEPSS 0.6%CVE-2024-33276CRITICALSQL Injection vulnerability in FME Modules preorderandnotication v.3.1.0 and before allows a remote attacker to run arbitrary SQL commands vEPSS 0.6%CVE-2024-4070MEDIUMKashipara Online Furniture Shopping Ecommerce Website prodList.php sql injectionEPSS 0.6%CVE-2024-47331CRITICALWordPress Multi Step for Contact Form plugin <= 2.7.7 - Unauthenticated SQL Injection vulnerabilityEPSS 0.6%CVE-2023-3695MEDIUMCampcodes Beauty Salon Management System add-product.php sql injectionEPSS 0.6%CVE-2024-55496CRITICALA vulnerability has been found in the 1000projects Bookstore Management System PHP MySQL Project 1.0. This issue affects some unknown functiEPSS 0.6%CVE-2024-8087MEDIUMSourceCodester E-Commerce System popup_Item.php sql injectionEPSS 0.6%CVE-2024-11260HIGHEvents Manager – Calendar, Bookings, Tickets, and more! <= 6.6.3 - Unauthenticated SQL Injection via Event Status ParameterEPSS 0.6%CVE-2025-0668CRITICALBOINC Server Multiple SQL InjectionsEPSS 0.6%CVE-2024-10597MEDIUMESAFENET CDG PolicyActionService.java delPolicyAction 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-2024-6471MEDIUMSourceCodester Online Tours & Travels Management sms_setting.php sql injectionEPSS 0.6%CVE-2026-33770HIGHAVideo has SQL Injection in category.php fixCleanTitle() via Unparameterized clean_title and id VariablesEPSS 0.6%CVE-2025-0847MEDIUM1000 Projects Employee Task Management System Login index.php sql injectionEPSS 0.6%CVE-2024-10278MEDIUMESAFENET CDG ReUserOrganiseService.java sql injectionEPSS 0.6%CVE-2024-0466MEDIUMcode-projects Employee Profile Management System file_table.php sql injectionEPSS 0.6%CVE-2024-7375MEDIUMSourceCodester Simple Realtime Quiz System my_quiz_result.php sql injectionEPSS 0.6%CVE-2025-1963MEDIUMprojectworlds Online Hotel Booking reservation.php sql injectionEPSS 0.6%