Weaknesses of type CWE-89

12,853 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-32231MEDIUMStash up to v0.25.1 was discovered to contain a SQL injection vulnerability via the sort parameter.EPSS 1.2%CVE-2025-49759HIGHMicrosoft SQL Server Elevation of Privilege VulnerabilityEPSS 1.2%CVE-2017-12729—A SQL Injection issue was discovered in Moxa SoftCMS Live Viewer through 1.6. An improper neutralization of special elements used in an SQL EPSS 1.2%CVE-2021-24465—Meow Gallery < 4.1.9 - Contributor+ SQL InjectionEPSS 1.2%CVE-2025-13652MEDIUMCBX Bookmark & Favorite <= 2.0.4 - Authenticated (Subscriber+) SQL Injection via `orderby` ParameterEPSS 1.2%CVE-2023-26922CRITICALSQL injection vulnerability found in Varisicte matrix-gui v.2 allows a remote attacker to execute arbitrary code via the shell_exect parametEPSS 1.2%CVE-2022-44015CRITICALAn issue was discovered in Simmeth Lieferantenmanager before 5.6. An attacker can inject raw SQL queries. By activating MSSQL features, the EPSS 1.2%CVE-2021-43851HIGHSQL injection vulnerability in anuko timetrackerEPSS 1.2%CVE-2022-40484CRITICALWedding Planner v1.0 was discovered to contain a SQL injection vulnerability via the booking parameter at /admin/client_edit.php.EPSS 1.2%CVE-2021-24360—Yes/No Chart < 1.0.12 - Authenticated (contributor+) Blind SQL InjectionEPSS 1.2%CVE-2023-30465MEDIUMApache InLong: SQL injection in apache inLong 1.5.0EPSS 1.2%CVE-2019-7001CRITICALAvaya IPOCC WebUI SQL InjectionEPSS 1.2%CVE-2024-28558HIGHSQL Injection vulnerability in sourcecodester Petrol pump management software v1.0, allows remote attackers to execute arbitrary code, escalEPSS 1.2%CVE-2023-26865CRITICALSQL injection vulnerability found in PrestaShop bdroppy v.2.2.12 and before allowing a remote attacker to gain privileges via the BdroppyCroEPSS 1.2%CVE-2024-24140HIGHSourcecodester Daily Habit Tracker App 1.0 allows SQL Injection via the parameter 'tracker.'EPSS 1.2%CVE-2017-20067HIGHHindu Matrimonial Script sql injectionEPSS 1.2%CVE-2021-22851CRITICALHGiga OAKloud Portal - SQL injection -1EPSS 1.2%CVE-2025-53727HIGHMicrosoft SQL Server Elevation of Privilege VulnerabilityEPSS 1.2%CVE-2023-3820HIGHSQL Injection in pimcore/pimcoreEPSS 1.2%CVE-2024-24139HIGHSourcecodester Login System with Email Verification 1.0 allows SQL Injection via the 'user' parameter.EPSS 1.2%