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-5896MEDIUMSourceCodester Employee and Visitor Gate Pass Logging System save_users sql injectionEPSS 0.7%CVE-2024-6111MEDIUMitsourcecode Pool of Bethesda Online Reservation System login.php sql injectionEPSS 0.7%CVE-2024-12787MEDIUM1000 Projects Attendance Tracking Management System check_student_login.php sql injectionEPSS 0.7%CVE-2025-61023HIGHAn issue in the st_compare component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via craftedEPSS 0.7%CVE-2024-25220CRITICALTask Manager App v1.0 was discovered to contain a SQL injection vulnerability via the taskID parameter at /TaskManager/EditTask.php.EPSS 0.7%CVE-2022-47430MEDIUMWordPress The School Management – Education & Learning Management Plugin <= 4.1 is vulnerable to SQL InjectionEPSS 0.7%CVE-2021-4308MEDIUMWebPA sql injectionEPSS 0.7%CVE-2016-15021MEDIUMnickzren alsdb sql injectionEPSS 0.7%CVE-2023-38391MEDIUMWordPress Onepage Builder – Easiest Landing Page Builder For WordPress Plugin <= 2.4.1 is vulnerable to SQL InjectionEPSS 0.7%CVE-2025-61028HIGHAn issue in the time_t_to_dt component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via craftEPSS 0.7%CVE-2025-61018HIGHAn issue in the sqlo_place_dt_set component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via EPSS 0.7%CVE-2023-27605MEDIUMWordPress WP Reroute Email Plugin <= 1.4.6 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-40207HIGHWordPress Donations Made Easy – Smart Donations Plugin <= 4.0.12 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-33924HIGHWordPress SIS Handball Plugin <= 1.0.45 is vulnerable to SQL InjectionEPSS 0.7%CVE-2021-4298MEDIUMHesburgh Libraries of Notre Dame Sipity search_criteria_for_works_parameter.rb SearchCriteriaForWorksParameter sql injectionEPSS 0.7%CVE-2024-3619MEDIUMSourceCodester Kortex Lite Advocate Office Management System addcase_stage.php sql injectionEPSS 0.7%CVE-2013-10013MEDIUMBricco Authenticator Plugin DBAuthenticator.java compare sql injectionEPSS 0.7%CVE-2025-61020HIGHAn issue in the sqlo_strip_in_join component of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) viaEPSS 0.7%CVE-2018-25066MEDIUMPeterMu nodebatis sql injectionEPSS 0.7%CVE-2022-43058CRITICALOnline Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /odlms//classesEPSS 0.7%