Weaknesses of type CWE-89

12,949 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-12787MEDIUM1000 Projects Attendance Tracking Management System check_student_login.php sql injectionEPSS 0.7%CVE-2024-11963MEDIUMcode-projects Responsive Hotel Site room.php sql injectionEPSS 0.7%CVE-2024-33332HIGHAn issue discovered in SpringBlade 3.7.1 allows attackers to obtain sensitive information via crafted GET request to api/blade-system/tenantEPSS 0.7%CVE-2024-13005MEDIUM1000 Projects Attendance Tracking Management System attendance_action.php sql injectionEPSS 0.7%CVE-2025-0561MEDIUMitsourcecode Farm Management System add-pig.php sql injectionEPSS 0.7%CVE-2024-43415CRITICALDecidim-Awesome: SQL injection in AdminAccountabilityEPSS 0.7%CVE-2024-3421MEDIUMSourceCodester Online Courseware deactivatestud.php sql injectionEPSS 0.7%CVE-2023-3826MEDIUMIBOS OA Interview edit&op=status sql injectionEPSS 0.7%CVE-2024-3457MEDIUMNetentsec NS-ASG Application Security Gateway config_ISCGroupNoCache.php sql injectionEPSS 0.7%CVE-2025-0229MEDIUMcode-projects Travel Management System enquiry.php sql injectionEPSS 0.7%CVE-2024-0784MEDIUMhongmaple octopus list sql injectionEPSS 0.7%CVE-2024-13003MEDIUM1000 Projects Portfolio Management System MCA update_ed.php sql injectionEPSS 0.7%CVE-2023-25047MEDIUMWordPress RSVPMarker Plugin <= 9.9.3 is vulnerable to SQL InjectionEPSS 0.7%CVE-2025-0230MEDIUMcode-projects Responsive Hotel Site print.php sql injectionEPSS 0.7%CVE-2024-57641HIGHAn issue in the sqlexp component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via crafted SQLEPSS 0.7%CVE-2024-57647HIGHAn issue in the row_insert_cast component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via crEPSS 0.7%CVE-2025-0562MEDIUMCodezips Gym Management System health_status_entry.php sql injectionEPSS 0.7%CVE-2024-57640HIGHAn issue in the dc_add_int component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via craftedEPSS 0.7%CVE-2023-49988HIGHHotel Booking Management v1.0 was discovered to contain a SQL injection vulnerability via the npss parameter at rooms.php.EPSS 0.7%CVE-2023-34383HIGHWordPress WP Project Manager Plugin <= 2.6.0 is vulnerable to SQL InjectionEPSS 0.7%