Weaknesses of type CWE-89

12,888 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-50389CRITICALQuRouterEPSS 0.8%CVE-2022-25607MEDIUMWordPress FV Flowplayer Video Player plugin <= 7.5.15.727 - SQL Injection (SQLi) vulnerabilityEPSS 0.8%CVE-2023-4176MEDIUMSourceCodester Hospital Management System appointmentapproval.php sql injectionEPSS 0.8%CVE-2023-4179MEDIUMSourceCodester Free Hospital Management System for Small Practices sql injectionEPSS 0.8%CVE-2023-2596MEDIUMSourceCodester Online Reviewer System GET Parameter user-update.php sql injectionEPSS 0.8%CVE-2023-2595MEDIUMSourceCodester Billing Management System POST Parameter ajax_service.php sql injectionEPSS 0.8%CVE-2024-2074MEDIUMMini-Tmall 1 sql injectionEPSS 0.8%CVE-2022-43213CRITICALBilling System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at editorder.php.EPSS 0.8%CVE-2022-42245CRITICALDreamer CMS 4.0.01 is vulnerable to SQL Injection.EPSS 0.8%CVE-2023-49708—Extension - joomstar.com - SQLi vulnerability in Starshop component for Joomla 1.0.0-1.0.9EPSS 0.8%CVE-2024-29872CRITICALSQL injection vulnerability in SentrifugoEPSS 0.8%CVE-2023-49707—Extension - joomlart.com - SQLi vulnerability in S5 Register module for Joomla 1.0.0-3.0.0EPSS 0.8%CVE-2024-29873CRITICALSQL injection vulnerability in SentrifugoEPSS 0.8%CVE-2023-40629—Extension - king-products.net - SQLi vulnerability in LMS Lite component for Joomla 1.0.0-3.3.0.1EPSS 0.8%CVE-2022-0754HIGHSQL Injection in salesagility/suitecrmEPSS 0.8%CVE-2023-2689MEDIUMSourceCodester Billing Management System GET Parameter editproduct.php sql injectionEPSS 0.8%CVE-2024-3041MEDIUMNetentsec NS-ASG Application Security Gateway listloginfo.php sql injectionEPSS 0.8%CVE-2023-2690MEDIUMSourceCodester Personnel Property Equipment System GET Parameter returned_reuse_form.php sql injectionEPSS 0.8%CVE-2025-22974CRITICALSQL Injection vulnerability in SeaCMS v.13.2 and before allows a remote attacker to execute arbitrary code via the DoTranExecSql parameter iEPSS 0.8%CVE-2025-62392MEDIUMSQL injection in Ivanti Endpoint Manager before version 2024 SU5 allows a remote authenticated attacker to read arbitrary data from the dataEPSS 0.8%