Fallos del tipo CWE-94

4450 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-64633CRITICALA vulnerability allowing remote unauthenticated code execution on the agent host.EPSS 0.6%CVE-2026-38431CRITICALERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). An attacker with permission to create or edit email temEPSS 0.6%CVE-2026-41148MEDIUMMermaid: Improper sanitization of `classDefs` in diagrams leads to CSS injectionEPSS 0.6%CVE-2023-31414HIGHKibana versions 8.0.0 through 8.7.0 contain an arbitrary code execution flaw. An attacker with write access to Kibana yaml or env configuratEPSS 0.6%CVE-2025-66299HIGHSecurity Sandbox Bypass with SSTI (Server Side Template Injection) in the Grav CMSEPSS 0.6%CVE-2026-50159MEDIUMMermaid allows CSS injection applying to sibling elements of the diagramEPSS 0.6%CVE-2025-4461MEDIUMTOTOLINK N150RT Virtual Server Page cross site scriptingEPSS 0.6%CVE-2025-4469MEDIUMSourceCodester Online Student Clearance System add-admin.php cross site scriptingEPSS 0.6%CVE-2024-9839HIGHUix Slideshow <= 1.6.5 - Unauthenticated Arbitrary Shortcode ExecutionEPSS 0.6%CVE-2025-4470MEDIUMSourceCodester Online Student Clearance System add-student.php cross site scriptingEPSS 0.6%CVE-2026-40563HIGHApache Atlas: Script injection allows access to unintended dataEPSS 0.6%CVE-2024-50808HIGHSeaCms 13.1 is vulnerable to code injection in the notification module of the member message notification module in the backend user module,EPSS 0.6%CVE-2024-53920HIGHIn elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs LEPSS 0.6%CVE-2024-10910HIGHGrid Plus – Unlimited grid layout <= 1.3.5 - Unauthenticated Arbitrary Shortcode Execution via grid_plus_load_by_categoryEPSS 0.6%CVE-2025-58768CRITICALDeepChat's Mermaid rendering has XSS leading to RCEEPSS 0.6%CVE-2025-1810MEDIUMPixsoft Vivaz Login Endpoint servlet cross site scriptingEPSS 0.6%CVE-2022-4455MEDIUMsproctor php-calendar index.php cross site scriptingEPSS 0.6%CVE-2025-3114CRITICALSpotfire Code Execution VulnerabilityEPSS 0.6%CVE-2026-34060HIGHRuby LSP has arbitrary code execution through branch settingEPSS 0.6%CVE-2023-1049HIGH A CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability exists that could cause execution of malicious code when EPSS 0.6%