Weaknesses of type CWE-89

13,339 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-32687HIGHWordPress Review Stars Count For WooCommerce plugin <= 2.0 - SQL Injection VulnerabilityEPSS 0.4%CVE-2025-14834MEDIUMcode-projects Simple Stock System checkuser.php sql injectionEPSS 0.4%CVE-2023-41525CRITICALHospital Management System v4 was discovered to contain a SQL injection vulnerability via the patient_contact parameter in patientsearch.phpEPSS 0.4%CVE-2025-11469MEDIUMSourceCodester Hotel and Lodge Management System save_customer.php sql injectionEPSS 0.4%CVE-2025-12930MEDIUMSourceCodester Food Ordering System view-ticket.php sql injectionEPSS 0.4%CVE-2024-35468MEDIUMA SQL injection vulnerability in /hrm/index.php in SourceCodester Human Resource Management System 1.0 allows attackers to execute arbitraryEPSS 0.4%CVE-2025-11401MEDIUMSourceCodester Hotel and Lodge Management System save_curr.php sql injectionEPSS 0.4%CVE-2026-37009MEDIUMA SQL injection vulnerability in NL2SQLTool in crewai-tools v1.10.2rc1 allows a remote attacker to execute arbitrary SQL commands via an unsEPSS 0.4%CVE-2025-11402MEDIUMSourceCodester Hotel and Lodge Management System del_curr.php sql injectionEPSS 0.4%CVE-2025-13234MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2025-11486MEDIUMSourceCodester Farm Management System buyNow.php sql injectionEPSS 0.4%CVE-2025-13057MEDIUMCampcodes School Fees Payment Management System ajax.php sql injectionEPSS 0.4%CVE-2025-8806MEDIUMzhilink 智互联(深圳)科技有限公司 ADP Application Developer Platform 应用开发者平台 treeData sql injectionEPSS 0.4%CVE-2025-11399MEDIUMSourceCodester Hotel and Lodge Management System save_room.php sql injectionEPSS 0.4%CVE-2025-64493MEDIUMSuiteCRM is Vulnerable to Authenticated Blind SQL Injection via GraphQLEPSS 0.4%CVE-2025-12931MEDIUMSourceCodester Food Ordering System edit-orders.php sql injectionEPSS 0.4%CVE-2025-11400MEDIUMSourceCodester Hotel and Lodge Management System del_room.php sql injectionEPSS 0.4%CVE-2025-12939MEDIUMSourceCodester Interview Management System addCandidate.php sql injectionEPSS 0.4%CVE-2025-11403MEDIUMSourceCodester Hotel and Lodge Management System del_booking.php sql injectionEPSS 0.4%CVE-2026-44923MEDIUMSQL injection in InfoScale VIOM before v9.1.3 allows remote attackers to escalate privileges.EPSS 0.4%