Falhas do tipo CWE-94

4.419 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-2020-15147HIGHRemote Code Execution in Red Discord BotEPSS 2.6%CVE-2022-21797HIGHArbitrary Code ExecutionEPSS 2.6%CVE-2016-10546—An arbitrary code injection vector was found in PouchDB 6.0.4 and lesser via the map/reduce functions used in PouchDB temporary views and deEPSS 2.6%CVE-2022-24665CRITICALRemote Code Execution by by Contributor+ users via WordPress gutenberg blockEPSS 2.6%CVE-2022-25894CRITICALAll versions of the package com.bstek.uflo:uflo-core are vulnerable to Remote Code Execution (RCE) in the ExpressionContextImpl class via jeEPSS 2.6%CVE-2021-31949HIGHMicrosoft Outlook Remote Code Execution VulnerabilityEPSS 2.6%CVE-2023-43364CRITICALmain.py in Searchor before 2.4.2 uses eval on CLI input, which may cause unexpected code execution.EPSS 2.6%CVE-2024-21508CRITICALVersions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validEPSS 2.6%CVE-2024-57487MEDIUMIn Code-Projects Online Car Rental System 1.0, the file upload feature does not validate file extensions or MIME types allowing an attacker EPSS 2.5%CVE-2023-26119CRITICALVersions of the package net.sourceforge.htmlunit:htmlunit from 0 and before 3.0.0 are vulnerable to Remote Code Execution (RCE) via XSTL, whEPSS 2.5%CVE-2024-22274HIGHThe vCenter Server contains an authenticated remote code execution vulnerability. A malicious actor with administrative privileges on the vCEPSS 2.5%CVE-2026-24516HIGHA command injection vulnerability exists in DigitalOcean Droplet Agent through 1.3.2. The troubleshooting actioner component (internal/troubEPSS 2.5%CVE-2025-22968CRITICALAn issue in D-Link DWR-M972V 1.05SSG allows a remote attacker to execute arbitrary code via SSH using root account without restrictionsEPSS 2.5%CVE-2017-16020—Summit is a node web framework. When using the PouchDB driver in the module, Summit 0.1.0 and later allows an attacker to execute arbitrary EPSS 2.5%CVE-2026-26830CRITICALpdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter. The constructGetInfoCommand and conEPSS 2.5%CVE-2026-61447CRITICALPraisonAI before 1.6.78 Remote Code Execution via CodeAgentEPSS 2.5%CVE-2021-29461HIGHLFI and possible code execution on discord-recon using tools argumentsEPSS 2.5%CVE-2024-54807CRITICALIn Netgear WNR854T 1.5.2 (North America), the UPNP service is vulnerable to command injection in the function addmap_exec which parses the NEPSS 2.5%CVE-2024-54805CRITICALNetgear WNR854T 1.5.2 (North America) is vulnerable to Command Injection. An attacker can send a specially crafted request to post.cgi, updaEPSS 2.5%CVE-2023-36789HIGHSkype for Business Remote Code Execution VulnerabilityEPSS 2.4%