Weaknesses of type CWE-89

13,109 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-8557MEDIUMSourceCodester Food Ordering Management System cancel-order.php sql injectionEPSS 0.5%CVE-2024-13152CRITICALSQLi in BSS Software's Mobuy Online Machinery Monitoring PanelEPSS 0.5%CVE-2025-3847MEDIUMmarkparticle WebServer Login httprequest.cpp sql injectionEPSS 0.5%CVE-2024-2777MEDIUMCampcodes/PHPGurukul Online Marriage Registration System application-bwdates-reports-details.php sql injectionEPSS 0.5%CVE-2025-0945MEDIUMitsourcecode Tailoring Management System typedelete.php sql injectionEPSS 0.5%CVE-2024-40539MEDIUMmy-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/user.EPSS 0.5%CVE-2025-0946MEDIUMitsourcecode Tailoring Management System templatedelete.php sql injectionEPSS 0.5%CVE-2024-54929HIGHKASHIPARA E-learning Management System v1.0 is vulnerable to SQL Injection in /admin/delete_subject.php.EPSS 0.5%CVE-2024-5958CRITICALSQLi in Eliz Software's PanelEPSS 0.5%CVE-2025-3172MEDIUMProject Worlds Online Lawyer Management System lawyer_booking.php sql injectionEPSS 0.5%CVE-2025-3176MEDIUMProject Worlds Online Lawyer Management System single_lawyer.php sql injectionEPSS 0.5%CVE-2025-0789MEDIUMESAFENET CDG doneDetail.jsp sql injectionEPSS 0.5%CVE-2024-6418MEDIUMSourceCodester Medicine Tracker System sql injectionEPSS 0.5%CVE-2025-3351MEDIUMPHPGurukul Old Age Home Management System login.php sql injectionEPSS 0.5%CVE-2025-0208MEDIUMcode-projects Online Shoe Store summary.php sql injectionEPSS 0.5%CVE-2023-41884HIGHZoneMinder Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in watch.phpEPSS 0.5%CVE-2025-3175MEDIUMProject Worlds Online Lawyer Management System save_user_edit_profile.php sql injectionEPSS 0.5%CVE-2025-3846MEDIUMmarkparticle WebServer Registration httprequest.cpp sql injectionEPSS 0.5%CVE-2025-3352MEDIUMPHPGurukul Old Age Home Management System edit-scdetails.php sql injectionEPSS 0.5%CVE-2025-5361MEDIUMCampcodes Online Hospital Management System contact.php sql injectionEPSS 0.5%