Weaknesses of type CWE-89

12,948 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-2023-37278MEDIUMGLPI vulnerable to SQL injection via dashboard administrationEPSS 0.7%CVE-2024-30980CRITICALSQL Injection vulnerability in phpgurukul Cyber Cafe Management System Using PHP & MySQL 1.0 allows attackers to run arbitrary SQL commands EPSS 0.7%CVE-2023-27610MEDIUMWordPress Transbank Webpay REST Plugin <= 1.6.6 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-7022MEDIUMTongda OA 2017 delete_all.php sql injectionEPSS 0.7%CVE-2026-25879CRITICALLangroid has Prompt to SQL Injection, Leading to RCEEPSS 0.7%CVE-2023-7020MEDIUMTongda OA 2017 view.php sql injectionEPSS 0.7%CVE-2024-2554MEDIUMSourceCodester Employee Task Management System update-employee.php sql injectionEPSS 0.7%CVE-2024-25508CRITICALRuvarOA v6.01 and v12.01 were discovered to contain a SQL injection vulnerability via the id parameter at /bulletin/bulletin_template_show.aEPSS 0.7%CVE-2026-75334CRITICALThe report module in the backend of smart-web2 v1.3.1 is vulnerable to arbitrary SQL execution. The sqlResource.sql parameter is stored in tEPSS 0.7%CVE-2025-55674MEDIUMApache Superset: Improper SQL authorisation, parse not checking for specific engine functionsEPSS 0.7%CVE-2026-5100HIGHAWP Classifieds <= 4.4.5 - Unauthenticated SQL Injection via 'regions'EPSS 0.7%CVE-2024-42765CRITICALA SQL injection vulnerability in "/login.php" of the Kashipara Bus Ticket Reservation System v1.0 allows remote attackers to execute arbitraEPSS 0.7%CVE-2026-2993HIGHAI Chatbot & Workflow Automation by AIWU <= 1.4.17 - Unauthenticated SQL Injection in getListForTbl()EPSS 0.7%CVE-2023-3120MEDIUMSourceCodester Service Provider Management System view_service.php sql injectionEPSS 0.7%CVE-2023-6921CRITICALSQL Injection in PrestaShop Google IntegratorEPSS 0.7%CVE-2024-46902MEDIUMA vulnerability in Trend Micro Deep Discovery Inspector (DDI) versions 5.8 and above could allow an attacker to disclose sensitive informatiEPSS 0.7%CVE-2014-125051MEDIUMhimiklab yii2-jqgrid-widget JqGridAction.php addSearchOptionsRecursively sql injectionEPSS 0.7%CVE-2023-5918MEDIUMSourceCodester Visitor Management System manage_user.php sql injectionEPSS 0.7%CVE-2024-2393MEDIUMSourceCodester CRUD without Page Reload add_user.php sql injectionEPSS 0.7%CVE-2024-9460MEDIUMCodezips Online Shopping Portal index.php sql injectionEPSS 0.7%