Weaknesses of type CWE-94
4,891 resultsInjeção de script
Ocorre quando 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 no contexto da aplicação, comprometendo dados, sessões ou o servidor.
Example
Um formulário web que avalia expressões matemáticas digitadas pelo usuário com eval() sem filtros. Um atacante entra 'os.system("rm -rf /")' em vez de "2+2", e o servidor executa o comando do sistema.
How to mitigate
Evite usar funções que executem código dinâmico (eval, exec, etc.) com entrada externa. Se inevitável, use sandboxing rigoroso, validação whitelist de entrada, e intérpretes isolados. Prefira APIs seguras que não interprem código arbitrário.
CVE-2022-41138CRITICALIn Zutty before 0.13, DECRQSS in text written to the terminal can achieve arbitrary code execution.EPSS 2.3%CVE-2022-24735LOWLua scripts can be manipulated to overcome ACL rules in RedisEPSS 2.2%CVE-2024-54152CRITICALAngular Expressions - Remote Code Execution when using localsEPSS 2.2%CVE-2022-40628CRITICALRemote Code Execution Vulnerability in Tacitine FirewallEPSS 2.2%CVE-2024-21643HIGHMicrosoft.IdentityModel.Protocols.SignedHttpRequest remote code execution vulnerabilityEPSS 2.2%CVE-2023-30404CRITICALAigital Wireless-N Repeater Mini_Router v0.131229 was discovered to contain a remote code execution (RCE) vulnerability via the sysCmd paramEPSS 2.2%CVE-2026-29955HIGHThe `/registercrd` endpoint in KubePlus 4.14 in the kubeconfiggenerator component is vulnerable to command injection. The component uses `suEPSS 2.2%CVE-2006-3136CRITICALMultiple PHP remote file inclusion vulnerabilities in Nucleus 3.23 allow remote attackers to execute arbitrary PHP code via a URL the DIR_LIEPSS 2.2%CVE-2022-0921HIGHAbusing Backup/Restore feature to achieve Remote Code Execution in microweber/microweberEPSS 2.2%CVE-2024-42634CRITICALA Command Injection vulnerability exists in formWriteFacMac of the httpd binary in Tenda AC9 v15.03.06.42. As a result, attacker can executeEPSS 2.2%CVE-2023-30179HIGHCraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User PEPSS 2.2%CVE-2025-34074CRITICALLucee Admin Interface Authenticated Remote Code Execution via Scheduled Job File WriteEPSS 2.2%CVE-2020-8141—The dot package v1.1.2 uses Function() to compile templates. This can be exploited by the attacker if they can control the given template orEPSS 2.2%CVE-2023-5539MEDIUMMoodle: authenticated remote code execution risk in lessonEPSS 2.2%CVE-2025-69902CRITICALA command injection vulnerability in the minimal_wrapper.py component of kubectl-mcp-server v1.2.0 allows attackers to execute arbitrary comEPSS 2.2%CVE-2024-32350HIGHTOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain an authenticated remote command execution (RCE) vulnerability via the "ipsEPSS 2.2%CVE-2024-32352HIGHTOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain an authenticated remote command execution (RCE) vulnerability via the "ipsEPSS 2.2%CVE-2026-102097HIGHKiteworks Email Protection Gateway remote code executionEPSS 2.2%CVE-2023-29566CRITICALhuedawn-tesseract 0.3.3 and dawnsparks-node-tesseract 0.4.0 to 0.4.1 was discovered to contain a remote code execution (RCE) vulnerability vEPSS 2.2%CVE-2023-26785CRITICALMariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a "creEPSS 2.2%