Weaknesses of type CWE-89

12,045 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-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-44662MEDIUMPHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the username parameter in the admin page.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%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-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-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-44651MEDIUMKashipara Ecommerce Website 1.0 is vulnerable to SQL Injection via the recover_email parameter in user_password_recover.php.EPSS 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-2025-68561HIGHWordPress AutomatorWP plugin <= 5.2.4 - SQL Injection vulnerabilityEPSS 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-44658MEDIUMPHPGurukul Complaint Management System 2.0 is vulnerable to SQL Injection via the subcategory and category parameters in subcategory.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-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-2018-25165HIGHGalaxy Forces MMORPG 0.5.8 SQL Injection via ads.phpEPSS 0.2%CVE-2026-57955HIGHSigNoz 0.130.1 - SQL Injection in Alert History Endpoints via Rule ID ParameterEPSS 0.2%CVE-2024-44640MEDIUMPHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the course-short, course-full, and cdate parameters in add-course.pEPSS 0.2%CVE-2024-44648MEDIUMPHPGurukul Small CRM 3.0 is vulnerable to SQL Injection via id and adminremark parameters in quote-details.php.EPSS 0.2%CVE-2026-2508MEDIUMGravity Forms Booking <= 2.7.1 - Authenticated (Subscriber+) Time-Based SQL Injection via 'staff_id'EPSS 0.2%CVE-2026-54809CRITICALWordPress GIFT4U plugin <= 1.0.10 - SQL Injection vulnerabilityEPSS 0.2%