Weaknesses of type CWE-89

12,036 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-2022-41671HIGHA CWE-89: Improper Neutralization of Special Elements used in SQL Command (‘SQL Injection’) vulnerability exists that allows adversaries witEPSS 0.3%CVE-2026-9617MEDIUMPostgreSQL Anonymizer: malicious column name allows SQL injection via anon.k_anonymity() functionEPSS 0.3%CVE-2026-8125MEDIUMcode-projects Simple Chat System sendMessage.php sql injectionEPSS 0.3%CVE-2026-10296MEDIUMitsourcecode Fees Management System ajax.php sql injectionEPSS 0.3%CVE-2026-4966MEDIUMitsourcecode Free Hotel Reservation System index.php sql injectionEPSS 0.3%CVE-2026-32176MEDIUMSQL Server Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-52050MEDIUMIn Frappe ERPNext 15.57.5, the function get_loyalty_program_details_with_points() at erpnext/accounts/doctype/loyalty_program/loyalty_prograEPSS 0.3%CVE-2026-38930MEDIUMOpenRapid RapidCMS v1.3.1 was discovered to contain an authentication bypass in the /template/default/menu.php component. This vulnerabilityEPSS 0.3%CVE-2026-12131MEDIUMCodeAstro Human Resource Management System Payroll Invoice Payroll.php sql injectionEPSS 0.3%CVE-2025-52049MEDIUMIn Frappe ErpNext v15.57.5, the function get_timesheet_detail_rate() at erpnext/projects/doctype/timesheet/timesheet.py is vulnerable to SQLEPSS 0.3%CVE-2026-22743HIGHServer-Side Request Forgery via Filter Expression Keys in Neo4jVectorStoreEPSS 0.3%CVE-2025-50565MEDIUMDoubo ERP 1.0 has an SQL injection vulnerability due to a lack of filtering of user input, which can be remotely initiated by an attacker.EPSS 0.2%CVE-2025-15325MEDIUMTanium addressed an improper input validation vulnerability in Discover.EPSS 0.2%CVE-2026-42287CRITICALEmlog: SQL Injection Vulnerability in log_model.php within addLog() and updateLog() FunctionsEPSS 0.2%CVE-2026-37343HIGHSourceCodester Vehicle Parking Area Management System v1.0 is vulnerable to SQL Injection in the file /parking/manage_user.php.EPSS 0.2%CVE-2026-15448MEDIUMTickera <= 3.6.0.1 - Authenticated (Staff+) SQL Injection via 'tc_order_status_filter' ParameterEPSS 0.2%CVE-2026-37342HIGHSourceCodester Vehicle Parking Area Management System v1.0 is vulnerable to SQL Injection in the file /parking/view_parked_details.php.EPSS 0.2%CVE-2025-41008CRITICALSQL Injection in SinturnoEPSS 0.2%CVE-2025-57254MEDIUMAn SQL injection vulnerability in user-login.php and index.php of Karthikg1908 Hospital Management System (HMS) 1.0 allows remote attackers EPSS 0.2%CVE-2026-6251MEDIUMChaty Pro <= 3.5.5 - Authenticated (Subscriber+) SQL Injection via 'widget_id' ParameterEPSS 0.2%