Fallos del tipo CWE-94

4452 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-2024-7345HIGHDirect local client connections to MS Agents can bypass authenticationEPSS 0.6%CVE-2025-49581HIGHXWiki allows remote code execution through default value of wiki macro wiki-type parametersEPSS 0.6%CVE-2023-26060MEDIUMAn issue was discovered in Nokia NetAct before 22 FP2211. On the Working Set Manager page, users can create a Working Set with a name that hEPSS 0.6%CVE-2026-21575HIGHThis High severity RCE (Remote Code Execution) vulnerability was introduced in version 3.4.11 of Sourcetree for Mac and Sourcetree for WindoEPSS 0.6%CVE-2024-21577CRITICALComfyUI-Ace-Nodes is vulnerable to Code Injection. The ACE_ExpressionEval node contains an eval() in its entrypoint function that accepts arEPSS 0.6%CVE-2026-82664MEDIUMyaojingang GEOFlow JSON-LD Theme HomeController.php cross site scriptingEPSS 0.6%CVE-2026-78181MEDIUMractivejs ractive Keypath Ractive#set prototype pollutionEPSS 0.6%CVE-2026-78178MEDIUMjQWidgets jqx-all.js jqxBaseFramework.extend prototype pollutionEPSS 0.6%CVE-2026-78180MEDIUMalibaba-fusion next deepMerge index.tsx ConfigProvider.getContextProps prototype pollutionEPSS 0.6%CVE-2026-85623HIGHgoose 1.37.0 Arbitrary Command Execution via Recipe ExtensionsEPSS 0.6%CVE-2026-44959HIGHA missing validation of user input exists when saving delivery limitations in Revive Adserver 6.0.6 and earlier. A low‑privileged user couldEPSS 0.6%CVE-2023-46623CRITICALWordPress WP EXtra Plugin <= 6.2 is vulnerable to Remote Code Execution (RCE)EPSS 0.6%CVE-2024-45766HIGHDell OpenManage Enterprise, version(s) OME 4.1 and prior, contain(s) an Improper Control of Generation of Code ('Code Injection') vulnerabilEPSS 0.6%CVE-2026-48017HIGHDbGate: Remote Code Execution via functionName injection in loadReader endpointEPSS 0.6%CVE-2026-66738HIGHSPIP < 4.4.18 Code Injection via Navigation Endpoint on SQLiteEPSS 0.6%CVE-2023-3401MEDIUMImproper Control of Generation of Code ('Code Injection') in GitLabEPSS 0.6%CVE-2025-25680HIGHLSC Smart Connect LSC Indoor PTZ Camera 7.6.32 is contains a RCE vulnerability in the tuya_ipc_direct_connect function of the anyka_ipc procEPSS 0.6%CVE-2025-67847HIGHMoodle: moodle: remote code execution via insufficient restore input validationEPSS 0.6%CVE-2025-0557MEDIUMHyland Alfresco Community Edition URL s cross site scriptingEPSS 0.6%CVE-2026-56049HIGHWordPress Post Snippets plugin <= 4.0.19 - Remote Code Execution (RCE) vulnerabilityEPSS 0.6%