Fallos del tipo CWE-94

4411 resultados

Injeção de script

A aplicação executa código dinâmico (JavaScript, Python, etc.) construído a partir de entrada do usuário sem validação ou sanitização adequada. Um atacante injeta comandos maliciosos que são interpretados e executados pelo servidor ou navegador como se fossem parte legítima do programa.

Ejemplo

Um formulário de contato concatena o nome do usuário diretamente em um script JavaScript enviado ao navegador: `<script>var usuario = '` + entrada_usuario + `';</script>`. Se o usuário envia `'; alert('xss'); //`, o navegador executa o alerta indesejado.

Cómo mitigar

Nunca construa código dinâmico a partir de entrada de usuário. Use APIs seguras (como `JSON.parse()` ao invés de `eval()`, ou templates com escape automático), valide e sanitize rigorosamente todas as entradas, e aplique listas brancas de caracteres permitidos quando possível.

CVE-2026-0761CRITICALFoundation Agents MetaGPT actionoutput_str_to_mapping Code Injection Remote Code Execution VulnerabilityEPSS 2.4%CVE-2018-19011CX-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-1001002math.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-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-2021-26727CRITICALspx_restservice SubNet_handler_func Multiple Command Injections and Stack-Based Buffer OverflowsEPSS 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-2020-29007CRITICALThe Score extension through 0.3.0 for MediaWiki has a remote code execution vulnerability due to improper sandboxing of the GNU LilyPond exeEPSS 2.3%CVE-2025-49029CRITICALWordPress Custom Login And Signup Widget plugin <= 1.0 - Arbitrary Code Execution vulnerabilityEPSS 2.3%