Weaknesses of type CWE-74
4,788 resultsInjeção de código
É quando uma aplicação incorpora dados não validados em um comando ou consulta que será interpretado como código. O atacante consegue injetar instruções maliciosas que são executadas com os privilégios da aplicação, como SQL, shell ou XML.
Example
Um formulário de login que monta uma query SQL concatenando diretamente a entrada do usuário: `SELECT * FROM usuarios WHERE email = '` + email_usuario + `'`. Um atacante digita `' OR '1'='1` e consegue bypassar a autenticação.
How to mitigate
Use prepared statements ou parameterized queries (bind variables), que separam dados de código. Valide e sanitize todas as entradas contra regras rígidas de whitelist, e aplique o princípio do menor privilégio nas contas de banco de dados e processos.
CVE-2025-8946MEDIUMprojectworlds Online Notes Sharing Platform login.php sql injectionEPSS 0.4%CVE-2025-8969MEDIUMitsourcecode Online Tour and Travel Management System approve_user.php sql injectionEPSS 0.4%CVE-2025-8987MEDIUMSourceCodester COVID 19 Testing Management System test-details.php sql injectionEPSS 0.4%CVE-2025-10025MEDIUMPHPGurukul Online Course Registration semester.php sql injectionEPSS 0.4%CVE-2025-10113MEDIUMitsourcecode Student Information Management System index.php sql injectionEPSS 0.4%CVE-2025-10781MEDIUMCampcodes Online Learning Management System edit_class.php sql injectionEPSS 0.4%CVE-2025-8981MEDIUMitsourcecode Online Tour and Travel Management System payment.php sql injectionEPSS 0.4%CVE-2025-9598MEDIUMitsourcecode Apartment Management System year_setup.php sql injectionEPSS 0.4%CVE-2025-9307MEDIUMPHPGurukul Online Course Registration session.php sql injectionEPSS 0.4%CVE-2025-12215MEDIUMprojectworlds Online Shopping System login_submit.php sql injectionEPSS 0.4%CVE-2025-12316MEDIUMcode-projects Courier Management System edit-courier.php sql injectionEPSS 0.4%CVE-2025-10833MEDIUM1000projects Bookstore Management System login.php sql injectionEPSS 0.4%CVE-2025-9426MEDIUMitsourcecode Online Tour and Travel Management System package.php sql injectionEPSS 0.4%CVE-2025-9601MEDIUMitsourcecode Apartment Management System employee_salary_setup.php sql injectionEPSS 0.4%CVE-2025-10601MEDIUMSourceCodester Online Exam Form Submission index.php sql injectionEPSS 0.4%CVE-2025-11480MEDIUMSourceCodester Simple E-Commerce Bookstore register.php sql injectionEPSS 0.4%CVE-2025-9507MEDIUMitsourcecode Apartment Management System visitor_info.php sql injectionEPSS 0.4%CVE-2025-10799MEDIUMcode-projects Hostel Management System index.php sql injectionEPSS 0.4%CVE-2025-10598MEDIUMSourceCodester Pet Grooming Management Software search_product.php sql injectionEPSS 0.4%CVE-2025-10459MEDIUMPHPGurukul Beauty Parlour Management System all-appointment.php sql injectionEPSS 0.4%