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-2022-2577MEDIUMSourceCodester Garage Management System edituser.php sql injectionEPSS 0.7%CVE-2015-10086HIGHOpenCycleCompass server-php login.php sql injectionEPSS 0.7%CVE-2024-28393CRITICALSQL injection vulnerability in scalapay v.1.2.41 and before allows a remote attacker to escalate privileges via the ScalapayReturnModuleFronEPSS 0.7%CVE-2024-7201CRITICALSimopro Technology WinMatrix3 Web package - SQL InjectionEPSS 0.7%CVE-2024-28395CRITICALSQL injection vulnerability in Best-Kit bestkit_popup v.1.7.2 and before allows a remote attacker to escalate privileges via the bestkit_popEPSS 0.7%CVE-2025-66169MEDIUMApache Camel Neo4j: Cypher injection vulnerability in Camel-Neo4j componentEPSS 0.7%CVE-2023-35910HIGHWordPress Quasar form Plugin <= 6.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2024-7202CRITICALSimopro Technology WinMatrix3 Web package - SQL InjectionEPSS 0.7%CVE-2022-46860HIGHWordPress Short URL Plugin <= 1.6.4 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-44267CRITICALOnline Art Gallery v1.0 - Multiple Unauthenticated SQL Injections (SQLi)EPSS 0.7%CVE-2023-5827MEDIUMShanghai CTI Navigation CTI Monitoring and Early Warning System UserEdit.aspx sql injectionEPSS 0.7%CVE-2024-33275CRITICALSQL injection vulnerability in Webbax supernewsletter v.1.4.21 and before allows a remote attacker to escalate privileges via the Super NewsEPSS 0.7%CVE-2024-2351MEDIUMCodeAstro Ecommerce Site Search action.php sql injectionEPSS 0.7%CVE-2024-3067HIGHWooCommerce Google Feed Manager <= 2.4.2 - Authenticated (Admin+) SQL Injection to Reflected Cross-Site ScriptingEPSS 0.7%CVE-2024-2724CRITICALSQL injection vulnerability in the CIGESv2 systemEPSS 0.7%CVE-2023-7123MEDIUMSourceCodester Medicine Tracking System sql injectionEPSS 0.7%CVE-2024-13008MEDIUMcode-projects Responsive Hotel Site newsletter.php sql injectionEPSS 0.7%CVE-2026-54354HIGHMapServer: PostGIS Numeric Filter Value SQL Injection in MapServer Runtime Query TranslationEPSS 0.7%CVE-2022-1080HIGHSourceCodester One Church Management System attendancy.php sql injectionEPSS 0.7%CVE-2026-72565CRITICALTencent APIJSON - Unauthenticated SQL Injection via @having Operator Map-Form BypassEPSS 0.7%