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-8172MEDIUMitsourcecode Employee Management System index.php sql injectionEPSS 0.4%CVE-2025-3304MEDIUMcode-projects Patient Record Management System dental_not.php sql injectionEPSS 0.4%CVE-2025-69213HIGHOpenSTAManager has a SQL Injection in ajax_complete.php (get_sedi endpoint)EPSS 0.4%CVE-2025-11595MEDIUMCampcodes Online Apartment Visitor Management System admin-profile.php sql injectionEPSS 0.4%CVE-2024-40542MEDIUMmy-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/role?oEPSS 0.4%CVE-2025-7186MEDIUMcode-projects Chat System fetch_chat.php sql injectionEPSS 0.4%CVE-2026-2088MEDIUMPHPGurukul Beauty Parlour Management System accepted-appointment.php sql injectionEPSS 0.4%CVE-2026-2189MEDIUMitsourcecode School Management System index.php sql injectionEPSS 0.4%CVE-2025-65896CRITICALSQL injection vulnerability in long2ice assyncmy thru 0.2.10 allows attackers to execute arbitrary SQL commands via crafted dict keys.EPSS 0.4%CVE-2025-12226MEDIUMSourceCodester Best House Rental Management System admin_class.php save_house sql injectionEPSS 0.4%CVE-2025-45321HIGHkashipara Online Service Management Portal V1.0 is vulnerable to SQL Injection in /osms/Requester/Requesterchangepass.php via the parameter:EPSS 0.4%CVE-2026-2196MEDIUMcode-projects Online Reviewer System exam-update.php sql injectionEPSS 0.4%CVE-2026-2116MEDIUMitsourcecode Society Management System edit_expenses.php sql injectionEPSS 0.4%CVE-2025-10662MEDIUMSeaCMS admin_members.php sql injectionEPSS 0.4%CVE-2026-2190MEDIUMitsourcecode School Management System controller.php sql injectionEPSS 0.4%CVE-2025-11342MEDIUMcode-projects Online Course Registration edit-course.php sql injectionEPSS 0.4%CVE-2025-12315MEDIUMcode-projects Food Ordering System menu.php sql injectionEPSS 0.4%CVE-2025-10387MEDIUMcodesiddhant Jasmin Ransomware handshake.php sql injectionEPSS 0.4%CVE-2026-2198MEDIUMcode-projects Online Reviewer System loaddata.php sql injectionEPSS 0.4%CVE-2026-2114MEDIUMitsourcecode Society Management System edit_admin.php sql injectionEPSS 0.4%