Weaknesses of type CWE-89

12,013 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-65454HIGHWordPress Quiz And Survey Master plugin <= 11.2.0 - SQL Injection vulnerabilityEPSS 0.3%CVE-2019-25439HIGHNoviSmart CMS SQL Injection via Referer HTTP HeaderEPSS 0.3%CVE-2026-37431CRITICALBeauty Parlour Management System v1.1 was discovered to contain a SQL injection vulnerability via the aptnumber parameter in the /appointmenEPSS 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-2025-69938CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in renew.php via the parameter membershipType.EPSS 0.3%CVE-2026-65526HIGHWordPress Visualizer plugin <= 4.0.6 - SQL Injection vulnerabilityEPSS 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-60797MEDIUMphpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118. The application directly executes user-sEPSS 0.3%CVE-2025-69941CRITICALSourceCodester Tailor Management System 1.0 is vulnerable to SQL Injection in addmeasurement.php?id=1.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%CVE-2026-7506MEDIUMSourceCodester Hotel Management System check sql injectionEPSS 0.3%CVE-2026-4978CRITICALSQLi in UMAI Vision's Traffic Analysis SystemEPSS 0.3%CVE-2024-30974HIGHSQL Injection vulnerability in autoexpress v.1.3.0 allows attackers to run arbitrary SQL commands via the carId parameter.EPSS 0.3%CVE-2025-53549MEDIUMMatrix Rust SDK allows SQL injection in the EventCache implementationEPSS 0.3%CVE-2025-69933CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /memberProfile.php?id=1.EPSS 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-69934CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /delete_members.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-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-67829CRITICALMura before 10.1.14 allows beanFeed.cfc getQuery sortDirection SQL injection.EPSS 0.3%