Fallos del tipo CWE-94

4442 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-2023-37198MEDIUM A CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability exists that could cause remote code execution when anEPSS 0.9%CVE-2026-27544CRITICALWordPress QA Analytics plugin <= 5.2.0.0 - Remote Code Execution (RCE) vulnerabilityEPSS 0.9%CVE-2026-85604HIGHGrav before 2.0.18 Remote Code Execution via sort filterEPSS 0.9%CVE-2026-40911CRITICALWWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() SinksEPSS 0.9%CVE-2024-4889HIGHCode Injection in berriai/litellmEPSS 0.9%CVE-2021-37774HIGHAn issue was discovered in function httpProcDataSrv in TL-WDR7660 2.0.30 that allows attackers to execute arbitrary code.EPSS 0.9%CVE-2026-75827CRITICALGrav before 2.0.15 Arbitrary File Write via error_logEPSS 0.9%CVE-2026-58474HIGHwhichllm < 0.5.16 Code Injection via run and snippet commandsEPSS 0.9%CVE-2024-55085CRITICALGetSimple CMS CE 3.3.19 suffers from arbitrary code execution in the template editing function in the background management system, which caEPSS 0.9%CVE-2024-12372CRITICALRockwell Automation PowerMonitor™ 1000 Denial of ServiceEPSS 0.9%CVE-2026-12242HIGHAdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode AttributeEPSS 0.9%CVE-2026-58231CRITICALImproper Authorization in SAP Commerce Cloud (Data Hub Adapter)EPSS 0.9%CVE-2026-81096CRITICALToolUniverse through 1.2.6 Unauthenticated Remote Code Execution via python_code_executor Sandbox EscapeEPSS 0.9%CVE-2026-25807HIGHUnauthenticated Remote Code Execution via P2P Sharing in ZAI-ShellEPSS 0.9%CVE-2024-39715HIGHA code injection vulnerability that allows a low-privileged user with REST API access granted to remotely upload arbitrary files to the VSPCEPSS 0.9%CVE-2024-38651HIGHA code injection vulnerability can allow a low-privileged user to overwrite files on that VSPC server, which can lead to remote code executiEPSS 0.9%CVE-2025-12813CRITICALHoliday class post calendar <= 7.1 - Unauthenticated Remote Code Execution via 'contents'EPSS 0.9%CVE-2024-7559HIGHFile Manager Pro <= 8.3.7 - Authenticated (Subscriber+) Arbitrary File UploadEPSS 0.9%CVE-2023-6886MEDIUMxnx3 wangmarket Role Management Page code injectionEPSS 0.9%CVE-2026-25856HIGHOpenBullet2 0.3.2 Authenticated RCE via Job Configuration InterfaceEPSS 0.9%