Weaknesses of type CWE-89

13,301 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-2026-5837MEDIUMPHPGurukul News Portal Project news-details.php sql injectionEPSS 0.4%CVE-2026-6036MEDIUMcode-projects Vehicle Showroom Management System VehicleDetailsFunction.php sql injectionEPSS 0.4%CVE-2026-6164MEDIUMcode-projects Lost and Found Thing Management addcat.php sql injectionEPSS 0.4%CVE-2026-7592MEDIUMitsourcecode Courier Management System edit_staff.php sql injectionEPSS 0.4%CVE-2026-19355MEDIUMMingSoft MCMS ms-mdiy list.do ModelDataImpl.queryDiyFormData sql injectionEPSS 0.4%CVE-2026-7225MEDIUMSourceCodester Pizzafy Ecommerce System ajax.php delete_menu sql injectionEPSS 0.4%CVE-2026-7128MEDIUMSourceCodester Pharmacy Sales and Inventory System ajax.php sql injectionEPSS 0.4%CVE-2026-82922MEDIUMShopEx ECShop flow.php flow_update_cart sql injectionEPSS 0.4%CVE-2025-51567CRITICALA SQL Injection was found in the /exam/user/profile.php page of kashipara Online Exam System V1.0, which allows remote attackers to execute EPSS 0.4%CVE-2026-15907MEDIUMH3C SecPath F1000-C8300 g=log_fw_nbc_mail_jsondata sql injectionEPSS 0.4%CVE-2026-6038MEDIUMcode-projects Vehicle Showroom Management System RegisterCustomerFunction.php sql injectionEPSS 0.4%CVE-2026-7694MEDIUMAcrel Electrical ECEMS Enterprise Microgrid Energy Efficiency Management System elecMaxMinAvgValue sql injectionEPSS 0.4%CVE-2024-33958CRITICALSQL injection in Janobe E-Negosyo SystemEPSS 0.4%CVE-2024-33969CRITICALSQL injection in Janobe productsEPSS 0.4%CVE-2024-33971CRITICALSQL injection in Janobe productsEPSS 0.4%CVE-2025-9532MEDIUMPortabilis i-Educar view sql injectionEPSS 0.4%CVE-2024-33967CRITICALSQL injection in Janobe productsEPSS 0.4%CVE-2024-33972CRITICALSQL injection in Janobe productsEPSS 0.4%CVE-2024-33973CRITICALSQL injection in Janobe productsEPSS 0.4%CVE-2026-29096HIGHSuiteCRM vulnerable to Authenticated SQL Injection via unsanitized field_function in Report FieldsEPSS 0.4%