Weaknesses of type CWE-89

11,946 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-2025-5566MEDIUMPHPGurukul Notice Board System search-notice.php sql injectionEPSS 0.3%CVE-2025-5655MEDIUMPHPGurukul Complaint Management System edit-subcategory.php sql injectionEPSS 0.3%CVE-2025-5546MEDIUMPHPGurukul Daily Expense Tracker System expense-reports-detailed.php sql injectionEPSS 0.3%CVE-2025-5556MEDIUMPHPGurukul Teacher Subject Allocation Management System edit-teacher-info.php sql injectionEPSS 0.3%CVE-2025-6332MEDIUMPHPGurukul Directory Management System manage-directory.php sql injectionEPSS 0.3%CVE-2025-5784MEDIUMPHPGurukul Employee Record Management System myexp.php sql injectionEPSS 0.3%CVE-2025-5693MEDIUMPHPGurukul Human Metapneumovirus Testing Management System bwdates-report-result.php sql injectionEPSS 0.3%CVE-2025-5859MEDIUMPHPGurukul Nipah Virus Testing Management System test-details.php sql injectionEPSS 0.3%CVE-2025-6890MEDIUMcode-projects Movie Ticketing System ticketConfirmation.php sql injectionEPSS 0.3%CVE-2026-26709CRITICALcode-projects Simple Gym Management System v1.0 is vulnerable to SQL Injection in /gym/trainer_search.php.EPSS 0.3%CVE-2026-39109CRITICALSQL Injection vulnerability in Apartment Visitors Management System Apartment Visitors Management System V1.1 within the username parameter EPSS 0.3%CVE-2025-5557MEDIUMPHPGurukul Teacher Subject Allocation Management System edit-course.php sql injectionEPSS 0.3%CVE-2026-32611HIGHGlances has a SQL Injection in DuckDB Export via Unparameterized DDL StatementsEPSS 0.3%CVE-2026-14471HIGHAuthenticated SQL injection in the metrics-service retention policy subsystem of mcp-gateway-registryEPSS 0.3%CVE-2025-6829MEDIUMaaluoxiang oa_system External Address Book outAddress sql injectionEPSS 0.3%CVE-2025-6320MEDIUMPHPGurukul Pre-School Enrollment System add-class.php sql injectionEPSS 0.3%CVE-2025-5558MEDIUMPHPGurukul Teacher Subject Allocation Management System changeimage.php sql injectionEPSS 0.3%CVE-2025-12984MEDIUMAdvanced Ads – Ad Manager & AdSense <= 2.0.15 - Authenticated (Admin+) SQL InjectionEPSS 0.3%CVE-2025-6321MEDIUMPHPGurukul Pre-School Enrollment System add-subadmin.php sql injectionEPSS 0.3%CVE-2026-6036MEDIUMcode-projects Vehicle Showroom Management System VehicleDetailsFunction.php sql injectionEPSS 0.3%