Weaknesses of type CWE-89

13,404 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-2019-25534HIGHNetartmedia PHP Car Dealer SQL Injection via features parameterEPSS 0.3%CVE-2026-63316HIGHSQL Injection in Payload CMSEPSS 0.3%CVE-2026-97287HIGHWordPress Event Tickets plugin <= 5.29.5 - SQL Injection vulnerabilityEPSS 0.3%CVE-2026-105149MEDIUMmooSocial all-products sql injectionEPSS 0.3%CVE-2026-11435MEDIUMJinher OA nextselectplan.aspx sql injectionEPSS 0.3%CVE-2025-61096MEDIUMPHPGurukul Online Shopping Portal Project v2.1 is vulnerable to SQL Injection in /shopping/login.php via the fullname parameter.EPSS 0.3%CVE-2025-63878MEDIUMGithub Restaurant Website Restoran v1.0 was discovered to contain a SQL injection vulnerability via the Contact Form page.EPSS 0.3%CVE-2024-44630MEDIUMMultiple parameters in register.php in PHPGurukul Student Record System 3.20 are vulnerable to SQL injection. These include: c-full, fname, EPSS 0.3%CVE-2025-60267MEDIUMIn xckk v9.6, there is a SQL injection vulnerability in which the cond parameter in notice/list is not securely filtered, resulting in a SQLEPSS 0.3%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.3%CVE-2024-44653MEDIUMKashipara Ecommerce Website 1.0 is vulnerable to SQL Injection via the user_email parameter in user_login.php.EPSS 0.3%CVE-2024-44648MEDIUMPHPGurukul Small CRM 3.0 is vulnerable to SQL Injection via id and adminremark parameters in quote-details.php.EPSS 0.3%CVE-2025-63718MEDIUMA SQL injection vulnerability exists in the SourceCodester PQMS (Patient Queue Management System) 1.0 in the api_patient_schedule.php endpoiEPSS 0.3%CVE-2025-25991MEDIUMSQL Injection vulnerability in hooskcms v.1.7.1 allows a remote attacker to obtain sensitive information via the /install/index.php componenEPSS 0.3%CVE-2024-44651MEDIUMKashipara Ecommerce Website 1.0 is vulnerable to SQL Injection via the recover_email parameter in user_password_recover.php.EPSS 0.3%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.3%CVE-2024-44633MEDIUMPHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the currentpassword parameter in change-password.php.EPSS 0.3%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.3%CVE-2025-50926MEDIUMEasy Hosting Control Panel EHCP v20.04.1.b was discovered to contain a SQL injection vulnerability via the id parameter in the List All EmaiEPSS 0.3%CVE-2024-44641MEDIUMPHPGurukul Small CRM 3.0 is vulnerable to SQL Injection via the oldpass parameter in change-password.php.EPSS 0.3%