Weaknesses of type CWE-89

13,064 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-3340MEDIUMcodeprojects Online Restaurant Management System combo_update.php sql injectionEPSS 0.6%CVE-2025-3314MEDIUMSourceCodester Apartment Visitor Management System forgotpw.php sql injectionEPSS 0.6%CVE-2025-3311MEDIUMPHPGurukul Men Salon Management System about-us.php sql injectionEPSS 0.6%CVE-2025-4034MEDIUMprojectworlds Online Examination System inser_doc_process.php sql injectionEPSS 0.6%CVE-2025-3341MEDIUMcodeprojects Online Restaurant Management System reservation_view.php sql injectionEPSS 0.6%CVE-2025-3998MEDIUMCodeAstro Membership Management System renew.php sql injectionEPSS 0.6%CVE-2025-3338MEDIUMcodeprojects Online Restaurant Management System user_save.php sql injectionEPSS 0.6%CVE-2025-3333MEDIUMcodeprojects Online Restaurant Management System menu_update.php sql injectionEPSS 0.6%CVE-2025-4027MEDIUMPHPGurukul Old Age Home Management System rules.php sql injectionEPSS 0.6%CVE-2025-12463CRITICALUnauthenticated SQL Injection in Guetebruck G-Cam Series CamerasEPSS 0.6%CVE-2023-51927CRITICALYonBIP v3_23.05 was discovered to contain a SQL injection vulnerability via the com.yonyou.hrcloud.attend.web.AttendScriptController.runScriEPSS 0.6%CVE-2024-47849HIGHBackticks can allow the usage of not-allowed SQL functionsEPSS 0.6%CVE-2025-3334MEDIUMcodeprojects Online Restaurant Management System category_save.php sql injectionEPSS 0.6%CVE-2025-0168MEDIUMcode-projects Job Recruitment _feedback_system.php sql injectionEPSS 0.6%CVE-2025-3313MEDIUMPHPGurukul Men Salon Management System add-customer.php sql injectionEPSS 0.6%CVE-2025-3323MEDIUMgodcheese/code-projects Nimrod ViewMenuCategoryRestController.java searchAllByName sql injectionEPSS 0.6%CVE-2025-4249MEDIUMPHPGurukul e-Diary Management System manage-categories.php sql injectionEPSS 0.6%CVE-2025-4112MEDIUMPHPGurukul Student Record System add-course.php sql injectionEPSS 0.6%CVE-2025-3309MEDIUMcode-projects Blood Bank Management System campsdetails.php sql injectionEPSS 0.6%CVE-2025-4026MEDIUMPHPGurukul Nipah Virus Testing Management System profile.php sql injectionEPSS 0.6%