Weaknesses of type CWE-89

11,911 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-13410MEDIUMCampcodes Retro Basketball Shoes Online Store receipt.php sql injectionEPSS 0.4%CVE-2024-50830LOWA SQL Injection vulnerability was found in /admin/calendar_of_events.php in kashipara E-learning Management System Project 1.0 via the date_EPSS 0.4%CVE-2025-13291MEDIUMCampcodes Supplier Management System confirm_order.php sql injectionEPSS 0.4%CVE-2024-50825LOWA SQL Injection vulnerability was found in /admin/school_year.php in kashipara E-learning Management System Project 1.0 via the school_year EPSS 0.4%CVE-2025-12339MEDIUMCampcodes Retro Basketball Shoes Online Store admin_football.php sql injectionEPSS 0.4%CVE-2025-10077MEDIUMSourceCodester Online Polling System registeracc.php sql injectionEPSS 0.4%CVE-2025-13257MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2024-50826LOWA SQL Injection vulnerability was found in /admin/add_content.php in kashipara E-learning Management System Project 1.0 via the title and coEPSS 0.4%CVE-2025-13233MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2025-13421MEDIUMitsourcecode Human Resource Management System NoticeStore.php sql injectionEPSS 0.4%CVE-2026-3981MEDIUMitsourcecode Online Doctor Appointment System doctor_action.php sql injectionEPSS 0.4%CVE-2025-51672HIGHA time-based blind SQL injection vulnerability was identified in the PHPGurukul Dairy Farm Shop Management System 1.3. The vulnerability exiEPSS 0.4%CVE-2026-3980MEDIUMitsourcecode Online Doctor Appointment System patient_action.php sql injectionEPSS 0.4%CVE-2025-13582MEDIUMcode-projects Jonnys Liquor GET Parameter detail.php sql injectionEPSS 0.4%CVE-2025-10076MEDIUMSourceCodester Online Polling System manage-profile.php sql injectionEPSS 0.4%CVE-2026-0592MEDIUMcode-projects Online Product Reservation System User Registration register_code.php sql injectionEPSS 0.4%CVE-2024-50828LOWA SQL Injection vulnerability was found in /admin/edit_department.php in kashipara E-learning Management System Project 1.0 via the d parameEPSS 0.4%CVE-2024-50829LOWA SQL Injection vulnerability was found in /admin/edit_subject.php in kashipara E-learning Management System Project 1.0 via the unit parameEPSS 0.4%CVE-2025-15492MEDIUMRainyGao DocSys GroupMemberMapper.xml sql injectionEPSS 0.4%CVE-2026-6637HIGHPostgreSQL refint allows stack buffer overflow and SQL injectionEPSS 0.4%