Weaknesses of type CWE-74
4,777 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-10102MEDIUMcode-projects Online Event Judging System index.php sql injectionEPSS 0.5%CVE-2025-9789MEDIUMSourceCodester Online Hotel Reservation System edituser.php sql injectionEPSS 0.5%CVE-2025-10687MEDIUMSourceCodester Responsive E-Learning System add_teacher.php sql injectionEPSS 0.5%CVE-2025-11062MEDIUMCampcodes Online Learning Management System save_student.php sql injectionEPSS 0.5%CVE-2025-11061MEDIUMCampcodes Online Learning Management System edit_student.php sql injectionEPSS 0.5%CVE-2025-10800MEDIUMitsourcecode Online Discussion Forum index.php sql injectionEPSS 0.5%CVE-2025-11076MEDIUMCampcodes Online Learning Management System edit_teacher.php sql injectionEPSS 0.5%CVE-2025-11057MEDIUMSourceCodester Pet Grooming Management Software print_inv.php sql injectionEPSS 0.5%CVE-2025-10836MEDIUMSourceCodester Pet Grooming Management Software print1.php sql injectionEPSS 0.5%CVE-2025-11424MEDIUMcode-projects Web-Based Inventory and POS System login.php sql injectionEPSS 0.5%CVE-2025-10031MEDIUMCampcodes Grocery Sales and Inventory System ajax.php sql injectionEPSS 0.5%CVE-2026-54662HIGHswagger-typescript-api vulnerable to code injection via unescaped `servers[0].url` in fetch http-client templateEPSS 0.5%CVE-2026-54664HIGHswagger-typescript-api vulnerable to code injection via unescaped enum string valuesEPSS 0.5%CVE-2026-54661HIGHswagger-typescript-api vulnerable to code injection via unescaped `servers[0].url` in axios http-client templateEPSS 0.5%CVE-2026-54666HIGHswagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodiesEPSS 0.5%CVE-2025-8185MEDIUM1000 Projects ABC Courier Management System getbyid.php sql injectionEPSS 0.5%CVE-2025-2046MEDIUMSourceCodester Best Employee Management System print1.php sql injectionEPSS 0.5%CVE-2026-24010HIGHHorilla has HTML Injection Issue that, with Phishing, Leads to Account TakeoverEPSS 0.5%CVE-2025-5632MEDIUMcode-projects/anirbandutta9 Content Management System/News-Buzz users.php sql injectionEPSS 0.5%CVE-2025-1841MEDIUMESAFENET CDG ClientSortLog.jsp sql injectionEPSS 0.5%