Weaknesses of type CWE-89

12,847 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-49004MEDIUMPostgreSQL Misconfiguration and Command Injection Vulnerability in ZTE NX799J (Red Magic 11 Air) ProductEPSS 1.2%CVE-2023-28329MEDIUMMoodle: authenticated sql injection via availability checkEPSS 1.2%CVE-2023-26864CRITICALSQL injection vulnerability found in PrestaShop smplredirectionsmanager v.1.1.19 and before allow a remote attacker to gain privileges via tEPSS 1.2%CVE-2022-21666HIGH SQL Injection in useredit.phpEPSS 1.2%CVE-2022-30528CRITICALSQL Injection vulnerability in asith-eranga ISIC tour booking through version published on Feb 13th 2018, allows attackers to execute arbitrEPSS 1.2%CVE-2023-46956HIGHSQL injection vulnerability in Packers and Movers Management System v.1.0 allows a remote attacker to execute arbitrary code via crafted payEPSS 1.2%CVE-2023-49736MEDIUMApache Superset: SQL Injection on where_in JINJA macroEPSS 1.2%CVE-2022-22540—SAP NetWeaver AS ABAP (Workplace Server) - versions 700, 701, 702, 731, 740, 750, 751, 752, 753, 754, 755, 756, 787, allows an attacker to eEPSS 1.2%CVE-2024-10835CRITICALArbitrary File Write via SQL Injection in eosphoros-ai/db-gptEPSS 1.2%CVE-2021-33736—A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 1.2%CVE-2021-32932—The affected product is vulnerable to a SQL injection, which may allow an unauthorized attacker to disclose information on the iView (versioEPSS 1.2%CVE-2026-22599CRITICALStrapi Vulnerable to SQL Injection in Content Type BuilderEPSS 1.2%CVE-2024-38793HIGHWordPress Best Restaurant Menu by Pricelisto plugin <= 1.4.1 - SQL Injection vulnerabilityEPSS 1.2%CVE-2021-21937HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger this vulnerability aEPSS 1.2%CVE-2021-4340CRITICALuListing <= 1.6.6 - Unauthenticated SQL InjectionEPSS 1.2%CVE-2023-27843CRITICALSQL injection vulnerability found in PrestaShop askforaquote v.5.4.2 and before allow a remote attacker to gain privileges via the QuotesProEPSS 1.2%CVE-2023-28843CRITICALImproper neutralization of SQL parameter in PayPal module for PrestaShopEPSS 1.2%CVE-2024-55988CRITICALWordPress Navayan CSV Export Plugin <= 1.0.9 - SQL Injection vulnerabilityEPSS 1.2%CVE-2022-33148HIGHA sql injection vulnerability exists in the ObjectYPT functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. A specially-crafted EPSS 1.2%CVE-2022-42497CRITICALWordPress Api2Cart Bridge Connector plugin <= 1.1.0 - Arbitrary Code Execution vulnerabilityEPSS 1.2%