Weaknesses of type CWE-89

13,116 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-0473MEDIUMcode-projects Dormitory Management System comment.php sql injectionEPSS 0.5%CVE-2025-48998HIGHDataease MYSQL JDBC File Reading VulnerabilityEPSS 0.5%CVE-2023-3689MEDIUMBylancer QuickQR GET Parameter blog sql injectionEPSS 0.5%CVE-2026-3786MEDIUMEasyCMS Request Parameter RbacuserAction.class.php sql injectionEPSS 0.5%CVE-2024-0471MEDIUMcode-projects Human Resource Integrated System dec_service_credits.php sql injectionEPSS 0.5%CVE-2023-5018MEDIUMSourceCodester Lost and Found Information System POST Parameter sql injectionEPSS 0.5%CVE-2026-1746MEDIUMJeecgBoot Online Report API loadDictItemByKeyword sql injectionEPSS 0.5%CVE-2024-0483MEDIUMTaokeyun HTTP POST Request Task.php index sql injectionEPSS 0.5%CVE-2026-30532CRITICALA SQL Injection vulnerability exists in SourceCodester Online Food Ordering System v1.0 in the admin/view_product.php file via the "id" paraEPSS 0.5%CVE-2025-3204MEDIUMCodeAstro Car Rental System returncar.php sql injectionEPSS 0.5%CVE-2026-36233CRITICALA SQL injection vulnerability was found in the assignInstructorSubjects.php file of itsourcecode Online Student Enrollment System v1.0. The EPSS 0.5%CVE-2024-0469MEDIUMcode-projects Human Resource Integrated System update_personal_info.php sql injectionEPSS 0.5%CVE-2024-0478MEDIUMcode-projects Fighting Cock Information System edit_chicken.php sql injectionEPSS 0.5%CVE-2023-3682MEDIUMNesote Inout Blockchain EasyPayments POST Parameter getcoinaddress sql injectionEPSS 0.5%CVE-2024-48231HIGHFunadmin 5.0.2 is vulnerable to SQL Injection via the selectFields parameter in the index method of \backend\controller\auth\Auth.php.EPSS 0.5%CVE-2023-3678MEDIUMSourceCodester AC Repair and Services System HTTP POST Request sql injectionEPSS 0.5%CVE-2024-0470MEDIUMcode-projects Human Resource Integrated System inc_service_credits.php sql injectionEPSS 0.5%CVE-2023-3751MEDIUMSuper Store Finder POST Parameter index.php sql injectionEPSS 0.5%CVE-2025-3235MEDIUMPHPGurukul Old Age Home Management System profile.php sql injectionEPSS 0.5%CVE-2024-0488MEDIUMcode-projects Fighting Cock Information System new-feed.php sql injectionEPSS 0.5%