Weaknesses of type CWE-89

12,071 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-2025-29744MEDIUMpg-promise before 11.5.5 is vulnerable to SQL Injection due to improper handling of negative numbers.EPSS 0.2%CVE-2026-10204MEDIUMOFCMS JSON Query SysUserController.java query sql injectionEPSS 0.2%CVE-2026-35068LOWDell PowerFlex Manager, version(s) prior to 5.1.0.1, contain(s) an Improper Neutralization of Special Elements used in an SQL Command ('SQL EPSS 0.2%CVE-2026-11509MEDIUMCodeAstro Leave Management System search_staff_for_updation.php sql injectionEPSS 0.2%CVE-2026-5681MEDIUMitsourcecode sanitize or validate this input Parameter borrowedequip.php sql injectionEPSS 0.2%CVE-2026-2963MEDIUMJinher OA C6 OfficeSupplyTypeRight.aspx sql injectionEPSS 0.2%CVE-2026-7115MEDIUMcode-projects Employee Management System delete.php sql injectionEPSS 0.2%CVE-2026-10202MEDIUMOFCMS JSON Query SystemDictController.java query sql injectionEPSS 0.2%CVE-2026-18719MEDIUMcemtan sar2html Search sar2html.py sql injectionEPSS 0.2%CVE-2026-7744MEDIUMCodeAstro Online Classroom addnewstudent sql injectionEPSS 0.2%CVE-2026-2553MEDIUMtushar-2223 Hotel-Management-System HTTP POST Request home.php sql injectionEPSS 0.2%CVE-2026-6191MEDIUMitsourcecode Construction Management System equipments.php sql injectionEPSS 0.2%CVE-2026-7118MEDIUMcode-projects Employee Management System cancel.php sql injectionEPSS 0.2%CVE-2026-4230MEDIUMvanna-ai vanna Endpoint __init__.py update_sql sql injectionEPSS 0.2%CVE-2026-33643HIGHSQL Injection vulnerability in SchemaHero 0.23.0 via the column parameter to the mysqlColumnAsInsert function in file plugins/mysql/lib/coluEPSS 0.2%CVE-2026-3672MEDIUMJeecgBoot getDictItems isExistSqlInjectKeyword sql injectionEPSS 0.2%CVE-2026-5823MEDIUMitsourcecode Construction Management System borrowed_tool_report.php sql injectionEPSS 0.2%CVE-2026-4614MEDIUMitsourcecode sanitize or validate this input Parameter subjects.php sql injectionEPSS 0.2%CVE-2026-7741MEDIUMCodeAstro Online Classroom studentlogin sql injectionEPSS 0.2%CVE-2026-7716MEDIUMcode-projects Gym Management System In PHP/Windows NT index.php sql injectionEPSS 0.2%