Weaknesses of type CWE-89

13,391 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-6005MEDIUMcode-projects Patient Record Management System hematology_print.php sql injectionEPSS 0.3%CVE-2026-8125MEDIUMcode-projects Simple Chat System sendMessage.php sql injectionEPSS 0.3%CVE-2026-5636MEDIUMPHPGurukul Online Shopping Portal Project Parameter cancelorder.php sql injectionEPSS 0.3%CVE-2026-5640MEDIUMPHPGurukul Online Shopping Portal Project Parameter update-image2.php sql injectionEPSS 0.3%CVE-2026-86170MEDIUMDefaultFuction CRM edit.php sql injectionEPSS 0.3%CVE-2026-18766MEDIUMchetans9 core-php-admin-panel customers.php sql injectionEPSS 0.3%CVE-2025-56407HIGHA vulnerability has been found in HuangDou UTCMS V9 and classified as critical. This vulnerability affects the function RunSql of the file aEPSS 0.3%CVE-2026-9305MEDIUMQuantumNous new-api self Endpoint topup.go SearchAllTopUps sql injectionEPSS 0.3%CVE-2026-7266MEDIUMSourceCodester Pizzafy Ecommerce System ajax.php save_order sql injectionEPSS 0.3%CVE-2026-7196MEDIUMCodeAstro Online Classroom guestdetails sql injectionEPSS 0.3%CVE-2026-5206MEDIUMcode-projects Simple Gym Management System Payment sql injectionEPSS 0.3%CVE-2026-12776MEDIUMMontodel House-Rental-Management index.php houses sql injectionEPSS 0.3%CVE-2026-8097MEDIUMCodeAstro Online Classroom askquery.php sql injectionEPSS 0.3%CVE-2026-19354MEDIUMlock-upme OPMS IN Clause message.go sql injectionEPSS 0.3%CVE-2024-45767MEDIUMDell OpenManage Enterprise, version(s) OME 4.1 and prior, contain(s) an Improper Neutralization of Special Elements used in an SQL Command (EPSS 0.3%CVE-2026-6010MEDIUMCodeAstro Online Classroom takeassessment2.php sql injectionEPSS 0.3%CVE-2026-5563MEDIUMAutohomeCorp frostmourne Alarm Preview previewData httpTest sql injectionEPSS 0.3%CVE-2026-90511MEDIUMGongShengyue OnlineBooks listSplit BooksServlet.java sql injectionEPSS 0.3%CVE-2025-48891HIGHAdvantech iView SQL InjectionEPSS 0.3%CVE-2026-5553MEDIUMitsourcecode Online Cellphone System Parameter available.php sql injectionEPSS 0.3%