Falhas do tipo CWE-79

28.607 resultados

Injeção de Script entre Sites (XSS)

Ocorre quando a aplicação insere dados não validados do usuário diretamente em páginas HTML enviadas ao navegador, permitindo que atacantes injetem código JavaScript malicioso. O navegador executa esse script com os mesmos privilégios da sessão legítima, comprometendo dados da vítima ou sua conta.

Exemplo

Um formulário de busca que exibe o termo digitado na página sem sanitização: se você buscar por '<script>alert(1)</script>', esse script será executado no navegador de quem abrir o resultado. Um atacante pode roubar cookies de sessão ou redirecionar para um site falso.

Como mitigar

Valide e escape todos os dados do usuário antes de renderizar em HTML (use funções nativas como textContent em vez de innerHTML). Para entrada de dados, liste o que é permitido (whitelist); para saída, contextualize o escape (HTML, JavaScript, URL). Use Content Security Policy (CSP) como camada adicional para restringir execução de scripts inline.

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%