Weaknesses of type CWE-89

13,321 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-10380MEDIUMSourceCodester Petrol Pump Management Software ajax_product.php sql injectionEPSS 0.4%CVE-2026-2212MEDIUMcode-projects Online Music Site AdminEditCategory.php sql injectionEPSS 0.4%CVE-2026-2199MEDIUMcode-projects Online Reviewer System user-delete.php sql injectionEPSS 0.4%CVE-2025-25875MEDIUMA vulnerability was found in ITSourcecode Simple ChatBox up to 1.0. This vulnerability affects unknown code of the file /message.php. The atEPSS 0.4%CVE-2026-2115MEDIUMitsourcecode Society Management System delete_expenses.php sql injectionEPSS 0.4%CVE-2026-2217MEDIUMitsourcecode Event Management System manage_user.php sql injectionEPSS 0.4%CVE-2026-2132MEDIUMcode-projects Online Music Site AdminUpdateCategory.php sql injectionEPSS 0.4%CVE-2024-42913MEDIUMRuoYi CMS v4.7.9 was discovered to contain a SQL injection vulnerability via the job_id parameter at /sasfs1.EPSS 0.4%CVE-2026-2083MEDIUMcode-projects Social Networking Site delete_post.php sql injectionEPSS 0.4%CVE-2026-47375MEDIUMNocoDB: Postgres SQL Injection in Formula `ARRAYSORT`EPSS 0.4%CVE-2026-2211MEDIUMcode-projects Online Music Site AdminDeleteCategory.php sql injectionEPSS 0.4%CVE-2026-2117MEDIUMitsourcecode Society Management System edit_activity.php sql injectionEPSS 0.4%CVE-2026-2073MEDIUMitsourcecode School Management System index.php sql injectionEPSS 0.4%CVE-2026-2197MEDIUMcode-projects Online Reviewer System exam-delete.php sql injectionEPSS 0.4%CVE-2025-57140CRITICALrsbi-pom 4.7 is vulnerable to SQL Injection in the /bi/service/model/DatasetService path.EPSS 0.4%CVE-2026-2195MEDIUMcode-projects Online Reviewer System questions-view.php sql injectionEPSS 0.4%CVE-2025-68111HIGHChurchCRM has SQL Injection in eGive Import FeatureEPSS 0.4%CVE-2025-32665CRITICALWordPress Office Locator plugin <= 1.3.0 - SQL Injection vulnerabilityEPSS 0.4%CVE-2025-10743HIGHOutdoor <= 1.3.2 - Unauthenticated SQL InjectionEPSS 0.4%CVE-2024-41236MEDIUMA SQL injection vulnerability in /smsa/admin_login.php in Kashipara Responsive School Management System v3.2.0 allows an attacker to executeEPSS 0.4%