Fallos del tipo CWE-94

4467 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-6691HIGHCode Injection vulnerability in Cambium ePMP Force 300-25EPSS 0.4%CVE-2025-5505MEDIUMTOTOLINK A3002RU Virtual Server Page formPortFw cross site scriptingEPSS 0.4%CVE-2023-20063HIGHCisco Cisco Firepower Threat Defense Software and Cisco Firepower Management Center Code Injection VulnerabilityEPSS 0.4%CVE-2024-11259MEDIUMcode-projects Farmacia fornecedores.php cross site scriptingEPSS 0.4%CVE-2026-44586HIGHSiYuan: Bazaar marketplace renders unescaped package author metadata, allowing XSS and Electron code executionEPSS 0.4%CVE-2025-5138MEDIUMBitwarden PDF File cross site scriptingEPSS 0.4%CVE-2024-34761HIGHWordpress Advanced Custom Fields Pro plugin < 6.2.10 - Contributor+ Arbitrary Function Execution vulnerabilityEPSS 0.4%CVE-2026-1516MEDIUMImproper Control of Generation of Code ('Code Injection') in GitLabEPSS 0.4%CVE-2024-6005MEDIUMZKTeco ZKBio CVSecurity V5000 Department Section cross site scriptingEPSS 0.4%CVE-2024-6006MEDIUMZKTeco ZKBio CVSecurity V5000 Summer Schedule cross site scriptingEPSS 0.4%CVE-2026-96754CRITICALorval @orval/hono before 8.29.0 Code Injection via OpenAPI PathEPSS 0.4%CVE-2026-15187MEDIUMenquirer Public Package API Enquirer.set prototype pollutionEPSS 0.4%CVE-2025-0800MEDIUMSourceCodester Online Courseware Edit Teacher saveeditt.php cross site scriptingEPSS 0.4%CVE-2024-44757HIGHAn arbitrary file download vulnerability in the component /Basics/DownloadInpFile of NUS-M9 ERP Management Software v3.0.0 allows attackers EPSS 0.4%CVE-2026-44287MEDIUMFastGPT: sandbox escape to RCE - code-sandbox regex /\bimport\s*\(/ is bypassableEPSS 0.4%CVE-2026-96759CRITICALorval before 8.29.0 Code Injection via operationIdEPSS 0.4%CVE-2026-22584CRITICALImproper Control of Generation of Code ('Code Injection') vulnerability in Salesforce Uni2TS on MacOS, Windows, Linux allows Leverage ExecutEPSS 0.4%CVE-2024-11102MEDIUMSourceCodester Hospital Management System edit-doc.php cross site scriptingEPSS 0.4%CVE-2024-35581MEDIUMA cross-site scripting (XSS) vulnerability in Sourcecodester Laboratory Management System v1.0 allows attackers to execute arbitrary web scrEPSS 0.4%CVE-2023-6601MEDIUMFfmpeg: hls unsafe file extension bypass in ffmpegEPSS 0.4%