Fallos del tipo CWE-94

4497 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-2022-41205MEDIUMSAP GUI allows an authenticated attacker to execute scripts in the local network. On successful exploitation, the attacker can gain access tEPSS 0.2%CVE-2026-59856HIGHVim: Arbitrary Code Execution via PHP Omni-CompletionEPSS 0.2%CVE-2026-12202MEDIUMIntelliants Subrion CMS Blocks Endpoint cross site scriptingEPSS 0.2%CVE-2026-45136HIGHclaude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.shEPSS 0.2%CVE-2025-2867MEDIUMImproper Control of Generation of Code ('Code Injection') in GitLabEPSS 0.2%CVE-2025-52718HIGHWordPress Alone theme <= 7.8.2 - Arbitrary Code Execution VulnerabilityEPSS 0.2%CVE-2025-53419HIGHCOMMGR Code Injection VulnerabilityEPSS 0.2%CVE-2026-11468MEDIUMSourceCodester Hospitals Patient Records Management System page room_types cross site scriptingEPSS 0.2%CVE-2025-42945MEDIUMHTML Injection vulnerability in SAP NetWeaver Application Server ABAPEPSS 0.2%CVE-2025-23305HIGHNVIDIA Megatron-LM for all platforms contains a vulnerability in the tools component, where an attacker may exploit a code injection issue. EPSS 0.2%CVE-2025-23306HIGHNVIDIA Megatron-LM for all platforms contains a vulnerability in the megatron/training/ arguments.py component where an attacker could causeEPSS 0.2%CVE-2025-12843MEDIUMCode Injection in Wave Term v0.12.2 allowing TCC BypassEPSS 0.2%CVE-2026-73505HIGHOh My Posh: Arbitrary command execution via template injection in the path segmentEPSS 0.2%CVE-2026-64802HIGHIn JetBrains GoLand before 2026.2 arbitrary code execution was possible before granting project trust in the Go Modules integrationEPSS 0.2%CVE-2026-64803HIGHIn JetBrains GoLand before 2026.2 arbitrary code execution was possible before granting project trust via the configured Go SDKEPSS 0.2%CVE-2024-2209MEDIUMHP Printer Firmware Update Utility for Certain HP DeskJet Printers - Potential Execution of Arbitrary CodeEPSS 0.2%CVE-2026-45555HIGHRoslyn CodeLens MCP Server: Untrusted Roslyn Analyzer Execution via get_diagnostics Leads to Arbitrary Code ExecutionEPSS 0.2%CVE-2026-10529MEDIUMwestboy CicadasCMS Task Scheduling Management ScheduleJobController.java cross site scriptingEPSS 0.2%CVE-2026-54621HIGH`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union descriptionEPSS 0.2%CVE-2026-11338MEDIUMSourceCodester Ship Ferry Ticket Reservation System manage_user cross site scriptingEPSS 0.2%