Falhas do tipo CWE-94

4.420 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-2022-40469HIGHiKuai OS v3.6.7 was discovered to contain an authenticated remote code execution (RCE) vulnerability.EPSS 2.4%CVE-2026-0761CRITICALFoundation Agents MetaGPT actionoutput_str_to_mapping Code Injection Remote Code Execution VulnerabilityEPSS 2.4%CVE-2018-19011—CX-Supervisor (Versions 3.42 and prior) can execute code that has been injected into a project file. An attacker could exploit this to execuEPSS 2.4%CVE-2026-26831CRITICALtextract through 2.5.0 is vulnerable to OS Command Injection via the file path parameter in multiple extractors. When processing files with EPSS 2.4%CVE-2021-43811HIGHCode injection via unsafe YAML loadingEPSS 2.4%CVE-2024-22899HIGHVinchin Backup & Recovery v7.2 was discovered to contain an authenticated remote code execution (RCE) vulnerability via the syncNtpTime funcEPSS 2.4%CVE-2024-50960HIGHA command injection vulnerability in the Nmap diagnostic tool in the admin web console of Extron SMP 111 <=3.01, SMP 351 <=2.16, SMP 352 <= EPSS 2.4%CVE-2023-49093CRITICALHtmlUnit vulnerable to Remote Code Execution (RCE) via XSTLEPSS 2.4%CVE-2024-28847HIGHSpEL Injection in `PUT /api/v1/events/subscriptions` in OpenMetadataEPSS 2.4%CVE-2024-38944CRITICALAn issue in Intelight X-1L Traffic controller Maxtime v.1.9.6 allows a remote attacker to execute arbitrary code via the /cgi-bin/generateFoEPSS 2.4%CVE-2021-26731CRITICALspx_restservice modifyUserb_func Command Injection and Multiple Stack-Based Buffer OverflowsEPSS 2.4%CVE-2022-34821HIGHA vulnerability has been identified in RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), EPSS 2.4%CVE-2017-1001002—math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name cEPSS 2.4%CVE-2021-26727CRITICALspx_restservice SubNet_handler_func Multiple Command Injections and Stack-Based Buffer OverflowsEPSS 2.3%CVE-2026-4354MEDIUMTRENDnet TEW-824DRU Web apply_sec.cgi sub_420A78 cross site scriptingEPSS 2.3%CVE-2021-26729CRITICALspx_restservice Login_handler_func Command Injection and Multiple Stack-Based Buffer OverflowsEPSS 2.3%CVE-2021-26728CRITICALspx_restservice KillDupUsr_func Command Injection and Stack-Based Buffer OverflowEPSS 2.3%CVE-2023-34251CRITICALGrav Server Side Template Injection vulnerabilityEPSS 2.3%CVE-2022-23631CRITICALPrototype Pollution leading to Remote Code Execution in superjsonEPSS 2.3%CVE-2022-31860CRITICALAn issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule.EPSS 2.3%