Weaknesses of type CWE-89

12,861 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-59499HIGHMicrosoft SQL Server Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2024-8944MEDIUMcode-projects Hospital Management System check_availability.php sql injectionEPSS 1.1%CVE-2024-2014HIGHPanabit Panalog sprog_upstatus.php sql injectionEPSS 1.1%CVE-2022-3300HIGHForm Maker by 10Web < 1.15.6 - Admin+ SQLIEPSS 1.1%CVE-2022-3246HIGHBlog2Social < 6.9.10 - Subscriber+ SQLiEPSS 1.1%CVE-2021-42333HIGHHuachu Digital Technology Co.,Ltd. Easytest - SQL Injection-1EPSS 1.1%CVE-2021-42334HIGHHuachu Digital Technology Co.,Ltd. Easytest - SQL Injection-2EPSS 1.1%CVE-2022-24831HIGHImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OpenClinicaEPSS 1.1%CVE-2024-55573CRITICALAn issue was discovered in Centreon centreon-web 24.10.x before 24.10.3, 24.04.x before 24.04.9, 23.10.x before 23.10.19, 23.04.x before 23.EPSS 1.1%CVE-2022-24848HIGHSQL Injection in DHIS2's in OrgUnit program associationEPSS 1.1%CVE-2017-20104HIGHSimplessus Cookie Time sql injectionEPSS 1.1%CVE-2023-37177CRITICALSQL Injection vulnerability in PMB Services PMB v.7.4.7 and before allows a remote unauthenticated attacker to execute arbitrary code via thEPSS 1.1%CVE-2021-3935—When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection iEPSS 1.1%CVE-2021-41433CRITICALSQL Injection vulnerability exists in version 1.0 of the Resumes Management and Job Application Website application login form by EGavilan MEPSS 1.1%CVE-2022-40943CRITICALDairy Farm Shop Management System 1.0 is vulnerable to SQL Injection via bwdate-report-ds.php file.EPSS 1.1%CVE-2025-47608CRITICALWordPress Recover abandoned cart for WooCommerce plugin <= 2.5 - SQL Injection VulnerabilityEPSS 1.1%CVE-2019-7478—A vulnerability in GMS allow unauthenticated user to SQL injection in Webservice module. This vulnerability affected GMS versions GMS 8.4, 8EPSS 1.1%CVE-2021-25023—Speed Booster Pack < 4.3.3.1 - Admin+ SQL InjectionEPSS 1.1%CVE-2022-37202HIGHJFinal CMS 5.1.0 is vulnerable to SQL Injection via /admin/advicefeedback/listEPSS 1.1%CVE-2024-27304CRITICALpgx SQL Injection via Protocol Message Size OverflowEPSS 1.1%