Fallos del tipo CWE-94

4363 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-40521HIGHSeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is due to the fact that although admin_template.php imposes certainEPSS 1.3%CVE-2024-41651CRITICALAn issue in Prestashop v.8.1.7 and before allows a remote attacker to execute arbitrary code via the module upgrade functionality. NOTE: thiEPSS 1.3%CVE-2024-27766MEDIUMAn issue in MariaDB v.11.1 allows a remote attacker to execute arbitrary code via the lib_mysqludf_sys.so function. NOTE: this is disputed bEPSS 1.3%CVE-2024-8695CRITICALA remote code execution (RCE) vulnerability via crafted extension description/changelog could be abused by a malicious extension in Docker Desktop before 4.34.2.EPSS 1.3%CVE-2022-41534HIGHOnline Diagnostic Lab Management System v1.0 was discovered to contain an arbitrary file upload vulnerability via the component /php_action/EPSS 1.3%CVE-2025-29039HIGHAn issue in dlink DIR 832x 240802 allows a remote attacker to execute arbitrary code via the function 0x41dda8EPSS 1.3%CVE-2024-31864CRITICALApache Zeppelin: Remote code execution by adding malicious JDBC connection stringEPSS 1.3%CVE-2023-35809—An issue was discovered in SugarCRM Enterprise before 11.0.6 and 12.x before 12.0.3. A Bean Manipulation vulnerability has been identified iEPSS 1.3%CVE-2021-37626HIGHPHP file inclusion via insert tagsEPSS 1.3%CVE-2023-26436HIGHAttackers with access to the "documentconverterws" API were able to inject serialized Java objects, that were not properly checked during deEPSS 1.3%CVE-2024-50636CRITICALPyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM EPSS 1.2%CVE-2020-37052CRITICALAirControl 1.4.2 - PreAuth Remote Code ExecutionEPSS 1.2%CVE-2023-30912HIGH A remote code execution issue exists in HPE OneView. EPSS 1.2%CVE-2025-59059CRITICALApache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreatorEPSS 1.2%CVE-2022-45907CRITICALIn PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.EPSS 1.2%CVE-2024-49048HIGHTorchGeo Remote Code Execution VulnerabilityEPSS 1.2%CVE-2024-29178HIGHApache StreamPark: FreeMarker SSTI RCE VulnerabilityEPSS 1.2%CVE-2023-51770HIGHApache DolphinScheduler: Arbitrary File Read VulnerabilityEPSS 1.2%CVE-2024-8696HIGHA remote code execution (RCE) vulnerability via crafted extension publisher-url/additional-urls could be abused by a malicious extension in Docker Desktop before 4.34.2.EPSS 1.2%CVE-2024-39714CRITICALA code injection vulnerability that permits a low-privileged user to upload arbitrary files to the server, leading to remote code execution EPSS 1.2%