Weaknesses of type CWE-94
4,456 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-2024-39915CRITICALAuthenticated remote code execution in ThrukEPSS 0.6%CVE-2024-45186CRITICALFileSender before 2.49 allows server-side template injection (SSTI) for retrieving credentials.EPSS 0.6%CVE-2022-32924HIGHThe issue was addressed with improved memory handling. This issue is fixed in tvOS 16.1, macOS Big Sur 11.7, macOS Ventura 13, watchOS 9.1, EPSS 0.6%CVE-2024-49254CRITICALWordPress ajax-extend plugin <= 1.0 - Remote Code Execution (RCE) vulnerabilityEPSS 0.6%CVE-2024-28593MEDIUMThe Chat activity in Moodle 4.3.3 allows students to insert a potentially unwanted HTML A element or IMG element, or HTML content that leadsEPSS 0.6%CVE-2023-5226MEDIUMImproper Control of Generation of Code ('Code Injection') in GitLabEPSS 0.6%CVE-2026-44670CRITICALSiYuan: Stored XSS via Attribute View name to Electron renderer RCE in SiYuanEPSS 0.6%CVE-2026-44672CRITICALmapfish-print: Remote Code Injection (RCE) in Dynamic tableEPSS 0.6%CVE-2026-70609MEDIUMElectron: DevTools JavaScript Injection via Unsanitized Dock State ParameterEPSS 0.5%CVE-2025-1119HIGHAppointment Booking Calendar — Simply Schedule Appointments Booking Plugin <= 1.6.8.5 - Unauthenticated Arbitrary Shortcode ExecutionEPSS 0.5%CVE-2024-13453HIGHContact Form & SMTP Plugin for WordPress by PirateForms <= 2.6.0 - Unauthenticated Arbitrary Shortcode ExecutionEPSS 0.5%CVE-2026-92593HIGHCraft CMS 5.10.0 before 5.10.13 Authenticated Remote Code ExecutionEPSS 0.5%CVE-2025-59954CRITICALKnowage Contains a Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-58764HIGHClaude Code rg command had Command Injection that allowed bypass of user approval prompt for command executionEPSS 0.5%CVE-2025-2169HIGHWPCS – WordPress Currency Switcher Professional <= 1.2.0.4 - Unauthenticated Arbitrary Shortcode ExecutionEPSS 0.5%CVE-2026-41159MEDIUMMermaid: Improper sanitization of configuration leads to CSS injectionEPSS 0.5%CVE-2026-72676MEDIUMImproper Control of Generation of Code in Fleet Server Leading to Code InjectionEPSS 0.5%CVE-2026-46850CRITICALVulnerability in the MySQL Shell product of Oracle MySQL (component: Shell for VS Code). The supported version that is affected is 2026.2.EPSS 0.5%CVE-2024-13792HIGHWooCommerce Food - Restaurant Menu & Food ordering <= 3.3.2 - Unauthenticated Arbitrary Shortcode Execution via idsEPSS 0.5%CVE-2024-13797HIGHPressMart - Modern Elementor WooCommerce WordPress Theme <= 1.2.16 - Unauthenticated Arbitrary Shortcode ExecutionEPSS 0.5%