Weaknesses of type CWE-94

4,474 results

Injeçã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-2025-7840MEDIUMCampcodes Online Movie Theater Seat Reservation System Reserve Your Seat Page index.php cross site scriptingEPSS 0.4%CVE-2026-39311MEDIUMTrilium Notes: Stored XSS Leads to Unauthorized Remote Code Execution (RCE) via Unsanitized SVG AttachmentsEPSS 0.4%CVE-2026-2965MEDIUM07FLYCMS/07FLY-CMS/07FlyCRM System Extension edit.html cross site scriptingEPSS 0.4%CVE-2025-5378MEDIUMAstun Technology iShare Maps mycouncil2.aspx cross site scriptingEPSS 0.4%CVE-2025-5377MEDIUMAstun Technology iShare Maps historic1.asp cross site scriptingEPSS 0.4%CVE-2025-13035HIGHCode Snippets <= 3.9.1 - Authenticated (Contributor+) PHP Code Injection via extract() and PHP Filter ChainsEPSS 0.4%CVE-2025-8501MEDIUMcode-projects Human Resource Integrated System action.php cross site scriptingEPSS 0.4%CVE-2025-9143MEDIUMScada-LTS mailing_lists.shtm cross site scriptingEPSS 0.4%CVE-2026-1606MEDIUMImproper Control of Generation of Code ('Code Injection') in GitLabEPSS 0.4%CVE-2025-9432MEDIUMmtons mblog Admin Panel list cross site scriptingEPSS 0.4%CVE-2026-2933MEDIUMYiFang CMS Extended Management D_adManage.php update cross site scriptingEPSS 0.4%CVE-2025-61488HIGHAn issue in Senayan Library Management System (SLiMS) 9 Bulian v.9.6.1 allows a remote attacker to execute arbitrary code via the scrap_imagEPSS 0.4%CVE-2026-2934MEDIUMYiFang CMS Extended Management D_friendLinkGroup.php update cross site scriptingEPSS 0.4%CVE-2026-3402MEDIUMPHPGurukul Student Record Management System edit-course.php cross site scriptingEPSS 0.4%CVE-2025-9431MEDIUMmtons mblog search cross site scriptingEPSS 0.4%CVE-2025-9144MEDIUMScada-LTS publisher_edit.shtm cross site scriptingEPSS 0.4%CVE-2025-7944MEDIUMPHPGurukul Taxi Stand Management System search.php cross site scriptingEPSS 0.4%CVE-2025-8905MEDIUMInpersttion For Theme <= 1.0 - Authenticated (Contributor+) Arbitrary Function CallEPSS 0.4%CVE-2026-3403MEDIUMPHPGurukul Student Record Management System edit-subject.php cross site scriptingEPSS 0.4%CVE-2026-44295HIGHprotobufjs-cli: Code injection in pbjs static output from crafted schema namesEPSS 0.4%