Weaknesses of type CWE-89

12,989 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-39566HIGHWordPress Hostel plugin <= 1.1.5.6 - SQL Injection VulnerabilityEPSS 0.6%CVE-2023-48260MEDIUMThe vulnerability allows a remote unauthenticated attacker to read arbitrary content of the results database via a crafted HTTP request.EPSS 0.6%CVE-2024-5733MEDIUMitsourcecode Online Discussion Forum register_me.php sql injectionEPSS 0.6%CVE-2025-32126HIGHWordPress Pay with Contact Form 7 Plugin <= 1.0.4 - SQL Injection vulnerabilityEPSS 0.6%CVE-2026-73698HIGHFileRun < 2026.3.0 Authenticated SQL Injection via Groups Add ActionEPSS 0.6%CVE-2023-30112HIGHMedicine Tracker System in PHP 1.0.0 is vulnerable to SQL Injection.EPSS 0.6%CVE-2023-48259MEDIUMThe vulnerability allows a remote unauthenticated attacker to read arbitrary content of the results database via a crafted HTTP request.EPSS 0.6%CVE-2024-24021CRITICALA SQL injection vulnerability exists in Novel-Plus v4.3.0-RC1 and prior. An attacker can pass specially crafted offset, limit, and sort paraEPSS 0.6%CVE-2024-0502MEDIUMSourceCodester House Rental Management System Edit User manage_user.php sql injectionEPSS 0.6%CVE-2024-10159MEDIUMPHPGurukul Boat Booking System My Profile Page profile.php sql injectionEPSS 0.6%CVE-2026-15300CRITICALGEO my WP <= 4.5.4 - Unauthenticated SQL Injection via 'distance' / 'lat' / 'lng' ParametersEPSS 0.6%CVE-2024-24023CRITICALA SQL injection vulnerability exists in Novel-Plus v4.3.0-RC1 and prior. An attacker can pass specially crafted offset, limit, and sort paraEPSS 0.6%CVE-2025-32124HIGHWordPress Behance Portfolio Manager plugin <= 1.7.5 - SQL Injection vulnerabilityEPSS 0.6%CVE-2024-5391MEDIUMitsourcecode Online Student Enrollment System listofsubject.php sql injectionEPSS 0.6%CVE-2024-5381MEDIUMitsourcecode Student Information Management System view.php sql injectionEPSS 0.6%CVE-2023-48261MEDIUMThe vulnerability allows a remote unauthenticated attacker to read arbitrary content of the results database via a crafted HTTP request.EPSS 0.6%CVE-2025-32203HIGHWordPress Falling things Plugin <= 1.08 - SQL Injection vulnerabilityEPSS 0.6%CVE-2024-5397MEDIUMitsourcecode Online Student Enrollment System instructorSubjects.php sql injectionEPSS 0.6%CVE-2024-47977HIGHDell Avamar, versions prior to 19.12 with patch 338905, excluding 19.10 and 19.10SP1 with patch 338869, contains an Improper Neutralization EPSS 0.6%CVE-2024-9094MEDIUMcode-projects Blood Bank System o-.php sql injectionEPSS 0.6%