Weaknesses of type CWE-89

13,274 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-9764MEDIUMitsourcecode Sports Management System resultdetails.php sql injectionEPSS 0.4%CVE-2024-12916HIGHSQLi in Agito Computer's Life4AllEPSS 0.4%CVE-2025-12339MEDIUMCampcodes Retro Basketball Shoes Online Store admin_football.php sql injectionEPSS 0.4%CVE-2025-10781MEDIUMCampcodes Online Learning Management System edit_class.php sql injectionEPSS 0.4%CVE-2025-10426MEDIUMitsourcecode Online Laundry Management System login.php sql injectionEPSS 0.4%CVE-2025-10565MEDIUMCampcodes Grocery Sales and Inventory System ajax.php sql injectionEPSS 0.4%CVE-2024-12918HIGHSQLi in Agito Computer's Health4AllEPSS 0.4%CVE-2025-11584MEDIUMcode-projects Online Job Search Engine searchjob.php sql injectionEPSS 0.4%CVE-2025-1875CRITICALSQL injection vulnerability in 101newsEPSS 0.4%CVE-2024-35084CRITICALJ2EEFAST v2.7.0 was discovered to contain a SQL injection vulnerability via the findPage function in SysMsgPushMapper.xml.EPSS 0.4%CVE-2025-11089MEDIUMkidaze CourseSelectionSystem COUNT3s4.php sql injectionEPSS 0.4%CVE-2026-1119MEDIUMitsourcecode Society Management System delete_activity.php sql injectionEPSS 0.4%CVE-2025-9426MEDIUMitsourcecode Online Tour and Travel Management System package.php sql injectionEPSS 0.4%CVE-2025-10798MEDIUMcode-projects Hostel Management System index.php sql injectionEPSS 0.4%CVE-2025-9052MEDIUMprojectworlds Travel Management System updatepackage.php sql injectionEPSS 0.4%CVE-2025-12293MEDIUMSourceCodester Point of Sales category.php sql injectionEPSS 0.4%CVE-2025-9051MEDIUMprojectworlds Travel Management System updatecategory.php sql injectionEPSS 0.4%CVE-2025-9502MEDIUMCampcodes Online Loan Management System ajax.php sql injectionEPSS 0.4%CVE-2025-10601MEDIUMSourceCodester Online Exam Form Submission index.php sql injectionEPSS 0.4%CVE-2025-9831MEDIUMPHPGurukul Beauty Parlour Management System edit-services.php sql injectionEPSS 0.4%