Weaknesses of type CWE-89

13,619 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-2020-6131MEDIUMSQL injection vulnerabilities exist in the course_period_id parameters used in OS4Ed openSIS 7.3 pages. The course_period_id parameter in thEPSS 1.4%CVE-2020-6130MEDIUMSQL injection vulnerabilities exist in the course_period_id parameters used in OS4Ed openSIS 7.3 pages. The course_period_id parameter in thEPSS 1.4%CVE-2021-25030—Events Made Easy < 2.2.36 - Subscriber+ SQL InjectionEPSS 1.4%CVE-2024-12727CRITICALA pre-auth SQL injection vulnerability in the email protection feature of Sophos Firewall versions older than 21.0 MR1 (21.0.1) allows accesEPSS 1.4%CVE-2021-24457—Portfolio Responsive Gallery < 1.1.8 - Authenticated Blind SQL InjectionsEPSS 1.4%CVE-2026-21708CRITICALA vulnerability allowing a Backup Viewer to perform remote code execution (RCE) as the postgres user.EPSS 1.4%CVE-2018-0120—A vulnerability in the web framework of Cisco Unified Communications Manager could allow an authenticated, remote attacker to conduct an SQLEPSS 1.4%CVE-2019-13409—A SQL injection vulnerability was discovered in TOPMeeting before version 8.8 (2019/08/19)EPSS 1.4%CVE-2026-5785HIGHSQL InjectionEPSS 1.4%CVE-2019-5111HIGHExploitable SQL injection vulnerability exists in the authenticated portion of Forma LMS 2.2.1. The /appLms/ajax.server.php URL and parameteEPSS 1.4%CVE-2021-36722HIGHEmuse - eServices / eNvoice SQL injectionEPSS 1.4%CVE-2022-40043HIGHCentreon v20.10.18 was discovered to contain a SQL injection vulnerability via the esc_name (Escalation Name) parameter at Configuration/NotEPSS 1.4%CVE-2022-24752CRITICALSQL Injection through sorting parameters in SyliusGridBundleEPSS 1.4%CVE-2005-4349MEDIUMSQL injection vulnerability in server_privileges.php in phpMyAdmin 2.7.0 allows remote authenticated users to execute arbitrary SQL commandsEPSS 1.4%CVE-2026-69085CRITICALSiYuan before v3.7.3 SQL Injection via searchDocsEPSS 1.4%CVE-2019-5114HIGHAn exploitable SQL injection vulnerability exists in the authenticated portion of YouPHPTube 7.6. Specially crafted web requests can cause SEPSS 1.4%CVE-2022-24827HIGHSQL Injection in elide-datastore-aggregationEPSS 1.4%CVE-2024-7385CRITICALWordPress Simple HTML Sitemap <= 3.1 - Authenticated (Admin+) SQL InjectionEPSS 1.4%CVE-2026-5073HIGHARMember Premium <= 7.3.1 - Unauthenticated SQL Injection via 'order' ParameterEPSS 1.4%CVE-2026-3018HIGHNewsletters <= 4.13 - Unauthenticated SQL Injection via wpmlsubscriber_id ParameterEPSS 1.4%