Weaknesses of type CWE-89

12,013 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-5564MEDIUMcode-projects Simple Laundry System Parameter searchguest.php sql injectionEPSS 0.3%CVE-2026-9573MEDIUMitsourcecode Student Transcript Processing System index.php sql injectionEPSS 0.3%CVE-2026-5322MEDIUMAlejandroArciniegas mcp-data-vis MCP server.js request sql injectionEPSS 0.3%CVE-2026-14737MEDIUMHanwang e-Face General Management Platform querySysAuthStr.do sql injectionEPSS 0.3%CVE-2026-7592MEDIUMitsourcecode Courier Management System edit_staff.php sql injectionEPSS 0.3%CVE-2026-4624MEDIUMSourceCodester Online Library Management System Parameter home.php sql injectionEPSS 0.3%CVE-2026-4190MEDIUMJawherKl node-api-postgres user.js User.getAll sql injectionEPSS 0.3%CVE-2026-7727MEDIUMShandong Hoteam Software PDM Product Data Management System DataService GetQueryMachineGridOnePageData sql injectionEPSS 0.3%CVE-2026-5837MEDIUMPHPGurukul News Portal Project news-details.php sql injectionEPSS 0.3%CVE-2026-4613MEDIUMSourceCodester E-Commerce Site products.php sql injectionEPSS 0.3%CVE-2026-5634MEDIUMprojectworlds Car Rental Project Parameter book_car.php sql injectionEPSS 0.3%CVE-2026-4839MEDIUMSourceCodester Food Ordering System Parameter purchase.php sql injectionEPSS 0.3%CVE-2026-4508MEDIUMPbootCMS Member Login MemberController.php checkUsername sql injectionEPSS 0.3%CVE-2026-5648MEDIUMcode-projects Simple Laundry System Parameter userfinishregister.php sql injectionEPSS 0.3%CVE-2026-7670MEDIUMJinher OA UserSel.aspx sql injectionEPSS 0.3%CVE-2026-7545MEDIUMSourceCodester Advanced School Management System checkEmail Endpoint commonController.php sql injectionEPSS 0.3%CVE-2026-5551MEDIUMitsourcecode Free Hotel Reservation System Parameter login.php sql injectionEPSS 0.3%CVE-2026-5237MEDIUMitsourcecode Payroll Management System Parameter manage_user.php sql injectionEPSS 0.3%CVE-2026-29099HIGHSuiteCRM has Authenticated Blind SQL Injection in OutboundEmail Legacy Functionality.EPSS 0.3%CVE-2026-5961MEDIUMcode-projects Simple IT Discussion Forum topic-details.php sql injectionEPSS 0.3%