Falhas do tipo CWE-94

4.891 resultados

Injeção de script

Ocorre quando a aplicação constrói e executa código (JavaScript, Python, shell, etc.) usando dados não validados fornecidos pelo usuário. O atacante consegue injetar comandos arbitrários que serão executados com os privilégios da aplicação, comprometendo a segurança e integridade do sistema.

Exemplo

Um formulário que avalia expressões matemáticas recebidas do usuário: se a entrada é concatenada direto em um eval() ou equivalente, um atacante pode passar `__import__('os').system('rm -rf /')` em vez de uma expressão legítima, executando comandos do sistema.

Como mitigar

Nunca execute código construído a partir de entrada do usuário. Use parsers/validadores que aceitam apenas formatos esperados (whitelist), sandboxes para execução controlada, ou bibliotecas seguras que não avaliam código dinâmico. Se inevitável, isole rigidamente o ambiente de execução.

CVE-2019-3759MEDIUMThe RSA Identity Governance and Lifecycle software and RSA Via Lifecycle and Governance products prior to 7.1.0 P08 contain a code injectionEPSS 3.2%CVE-2023-42890—The issue was addressed with improved memory handling. This issue is fixed in Safari 17.2, macOS Sonoma 14.2, watchOS 10.2, iOS 17.2 and iPaEPSS 3.2%CVE-2022-24881HIGHCommand Injection in Ballcat CodegenEPSS 3.2%CVE-2023-6548MEDIUMImproper Control of Generation of Code ('Code Injection') in NetScaler ADC and NetScaler Gateway allows an attacker with access to NSIP, CLIEPSS 3.2%KEVCVE-2006-5021CRITICALMultiple PHP remote file inclusion vulnerabilities in redgun RedBLoG 0.5 allow remote attackers to execute arbitrary PHP code via a URL in (EPSS 3.2%CVE-2020-25197CRITICALGE Reason RT43X Clocks Code InjectionEPSS 3.2%CVE-2022-40469HIGHiKuai OS v3.6.7 was discovered to contain an authenticated remote code execution (RCE) vulnerability.EPSS 3.1%CVE-2017-8912HIGHCMS Made Simple (CMSMS) 2.1.6 allows remote authenticated administrators to execute arbitrary PHP code via the code parameter to admin/edituEPSS 3.1%CVE-2022-3383HIGHUltimate Member – User Profile, User Registration, Login & Membership Plugin <= 2.5.0 - Authenticated (Admin+) Remote Code Execution via Multi-SelectEPSS 3.1%CVE-2025-27407CRITICALRemote code execution when loading a crafted GraphQL schemaEPSS 3.1%CVE-2022-21831—A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguEPSS 3.1%CVE-2024-5082HIGHNexus Repository 2 - Remote Code ExecutionEPSS 3.1%CVE-2024-54756CRITICALA remote code execution (RCE) vulnerability in the ZScript function of ZDoom Team GZDoom v4.13.1 allows attackers to execute arbitrary code EPSS 3.1%CVE-2019-1057HIGHMS XML Remote Code Execution VulnerabilityEPSS 3.1%CVE-2022-3384HIGHUltimate Member – User Profile, User Registration, Login & Membership Plugin <= 2.5.0 - Authenticated (Admin+) Limited Remote Code Execution via um_populate_dropdown_optionsEPSS 3.1%CVE-2020-12013—A specially crafted WCF client that interfaces to the may allow the execution of certain arbitrary SQL commands remotely. This affects: MitsEPSS 3.0%CVE-2011-10018CRITICALmyBB 1.6.4 Backdoor Arbitrary Command ExecutionEPSS 3.0%CVE-2025-66294HIGHGrav is vulnerable to RCE via SSTI through Twig Sandbox BypassEPSS 3.0%CVE-2023-32528—Trend Micro Mobile Security (Enterprise) 9.8 SP5 contains vulnerable .php files that could allow a remote attacker to execute arbitrary codeEPSS 3.0%CVE-2021-27446CRITICALWeintek EasyWeb cMT Code InjectionEPSS 3.0%