Weaknesses of type CWE-89

12,993 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-5775MEDIUMSourceCodester Vehicle Management System updatebill.php sql injectionEPSS 0.6%CVE-2024-12187MEDIUM1000 Projects Library Management System showbook.php sql injectionEPSS 0.6%CVE-2024-10736MEDIUMCodezips Free Exam Hall Seating Management System student.php sql injectionEPSS 0.6%CVE-2023-6771MEDIUMSourceCodester Simple Student Attendance System actions.class.php save_attendance sql injectionEPSS 0.6%CVE-2022-4860MEDIUMKBase Metrics methods_upload_user_stats.py upload_user_data sql injectionEPSS 0.6%CVE-2024-5753HIGHLocal File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vannaEPSS 0.6%CVE-2024-6898MEDIUMSourceCodester Record Management System index.php sql injectionEPSS 0.6%CVE-2024-2480MEDIUMMHA Sistemas arMHAzena Executa Page sql injectionEPSS 0.6%CVE-2024-11099MEDIUMcode-projects Job Recruitment login.php sql injectionEPSS 0.6%CVE-2022-4933MEDIUMATM Consulting dolibarr_module_quicksupplierprice interface.php upatePrice sql injectionEPSS 0.6%CVE-2024-11100MEDIUM1000 Projects Beauty Parlour Management System index.php sql injectionEPSS 0.6%CVE-2025-3179MEDIUMprojectworlds Online Doctor Appointment Booking System deletepatient.php sql injectionEPSS 0.6%CVE-2024-24407MEDIUMSQL Injection vulnerability in Best Courier management system v.1.0 allows a remote attacker to obtain sensitive information via print_pdetsEPSS 0.6%CVE-2025-4195MEDIUMitsourcecode Gym Management System ajax.php sql injectionEPSS 0.6%CVE-2025-3178MEDIUMprojectworlds Online Doctor Appointment Booking System deleteappointment.php sql injectionEPSS 0.6%CVE-2025-3181MEDIUMprojectworlds Online Doctor Appointment Booking System appointment.php sql injectionEPSS 0.6%CVE-2024-42784CRITICALA SQL injection vulnerability in "/music/controller.php?page=view_music" in Kashipara Music Management System v1.0 allows an attacker to exeEPSS 0.6%CVE-2025-3183MEDIUMprojectworlds Online Doctor Appointment Booking System patientupdateprofile.php sql injectionEPSS 0.6%CVE-2021-4276MEDIUM** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in dns-stats hedgehog. It has been rated as problematic. Affected by this issue isEPSS 0.6%CVE-2025-3180MEDIUMprojectworlds Online Doctor Appointment Booking System deleteschedule.php sql injectionEPSS 0.6%