Weaknesses of type CWE-89

12,044 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-2026-21892MEDIUMParsl Monitoring Visualization Vulnerable to SQL InjectionEPSS 0.2%CVE-2024-44652MEDIUMKashipara Ecommerce Website 1.0 is vulnerable to SQL Injection via the user_email, username, user_firstname, user_lastname, and user_addressEPSS 0.2%CVE-2024-44639MEDIUMPHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the sub1, sub2, sub3, sub4, and course-short parameters in add-subjEPSS 0.2%CVE-2023-42243MEDIUMIn Selesta Visual Access Manager < 4.42.2, an authenticated user can access the administrative page /common/vam_Sql.php, which allows for arEPSS 0.2%CVE-2018-25165HIGHGalaxy Forces MMORPG 0.5.8 SQL Injection via ads.phpEPSS 0.2%CVE-2024-44664MEDIUMPHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the name, summary, review, quality, price, and value parameters in EPSS 0.2%CVE-2024-44644MEDIUMPHPGurukul Small CRM 3.0 is vulnerable to SQL Injection via the frm_id and aremark parameters in manage-tickets.php.EPSS 0.2%CVE-2024-44654MEDIUMPHPGurukul Complaint Management System 2.0 is vulnerable to SQL Injection via the email and mobileno parameters in reset-password.php.EPSS 0.2%CVE-2024-44660MEDIUMPHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the fullname, emailid, and contactno parameters in login.php.EPSS 0.2%CVE-2024-55016MEDIUMPHPGurukul Student Record Management System 3.20 is vulnerable to SQL Injection via the id and password parameters in login.php.EPSS 0.2%CVE-2024-44662MEDIUMPHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the username parameter in the admin page.EPSS 0.2%CVE-2025-11663MEDIUMCampcodes Online Beauty Parlor Management System manage-services.php sql injectionEPSS 0.2%CVE-2024-44651MEDIUMKashipara Ecommerce Website 1.0 is vulnerable to SQL Injection via the recover_email parameter in user_password_recover.php.EPSS 0.2%CVE-2024-44657MEDIUMPHPGurukul Complaint Management System 2.0 is vulnerable to SQL Injection via the fromdate and todate parameters in between-date-userreport.EPSS 0.2%CVE-2021-35484HIGHNokia IMPACT through 19.11.2.10-20210118042150283 allows an authenticated user to perform a Time-based Boolean Blind SQL Injection attack onEPSS 0.2%CVE-2024-40068MEDIUMSourcecodester Online ID Generator System 1.0 was discovered to contain a SQL injection vulnerability via the id parameter at id_generator/aEPSS 0.2%CVE-2024-44641MEDIUMPHPGurukul Small CRM 3.0 is vulnerable to SQL Injection via the oldpass parameter in change-password.php.EPSS 0.2%CVE-2025-68561HIGHWordPress AutomatorWP plugin <= 5.2.4 - SQL Injection vulnerabilityEPSS 0.2%CVE-2024-44653MEDIUMKashipara Ecommerce Website 1.0 is vulnerable to SQL Injection via the user_email parameter in user_login.php.EPSS 0.2%CVE-2025-63878MEDIUMGithub Restaurant Website Restoran v1.0 was discovered to contain a SQL injection vulnerability via the Contact Form page.EPSS 0.2%