Weaknesses of type CWE-89

13,380 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-2026-108474CRITICALIn JetBrains Exposed before 1.5.1 sQL injection was possible via unescaped string arguments of several SQL functionsEPSS 0.3%CVE-2026-66622HIGHWordPress Depicter Slider plugin <= 4.8.0 - SQL Injection vulnerabilityEPSS 0.3%CVE-2026-54829HIGHWordPress WP Photo Album Plus plugin <= 9.1.13.005 - SQL Injection vulnerabilityEPSS 0.3%CVE-2025-14192MEDIUMRashminDungrani online-banking auth_login.php sql injectionEPSS 0.3%CVE-2025-45819MEDIUMSlims (Senayan Library Management Systems) 9 Bulian 9.6.1 is vulnerable to SQL Injection in admin/modules/master_file/author.php.EPSS 0.3%CVE-2025-69933CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /memberProfile.php?id=1.EPSS 0.3%CVE-2026-105287MEDIUMfeelec-yishu feelcrm-os getMemberByGroups Endpoint AjaxRequestController.class.php sql injectionEPSS 0.3%CVE-2025-69930CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /print_membership_card.php?id=1.EPSS 0.3%CVE-2025-69931CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /delete_membership.php?id=1.EPSS 0.3%CVE-2025-67404CRITICALSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in save_stud.php via the parameters fname, lname, and stEPSS 0.3%CVE-2025-69947CRITICALSourceCodester Tailor Management System 1.0 is vulnerable to SQL Injection in customeredit.php?id=1.EPSS 0.3%CVE-2025-69942CRITICALkishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /hms/doctor/view-patient.php?viewid=1.EPSS 0.3%CVE-2025-54790CRITICALFiles: Potential for SQL Injection through File Browse and List OperationsEPSS 0.3%CVE-2025-69936CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /edit_member.php?id=1.EPSS 0.3%CVE-2026-84209HIGHIBM Guardium Data Protection is affected by multiple vulnerabilities.EPSS 0.3%CVE-2026-88416CRITICALMCMS 6.1.1 through 6.2.1 has a SQL injection vulnerability in the custom model/form import feature.EPSS 0.3%CVE-2025-12620MEDIUMPoll Maker – Versus Polls, Anonymous Polls, Image Polls <= 6.0.7 - Authenticated (Administrator+) SQL Injection via `filterbyauthor` ParameterEPSS 0.3%CVE-2025-69934CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /delete_members.php?id=1.EPSS 0.3%CVE-2025-67403CRITICALSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_class.php via the parameter class_name.EPSS 0.3%CVE-2025-69935CRITICALCodeAstro Membership Management System 1.0 is vulnerale to SQL Injection in the report.php and revenue_report.php via the fromDate parameterEPSS 0.3%