Weaknesses of type CWE-79

30,473 results

Injeção de conteúdo não sanitizado (XSS)

Ocorre quando dados não confiáveis (entrada de usuário, parâmetros, APIs externas) são inseridos diretamente no HTML, JavaScript ou contexto de renderização sem validação ou escape. Um atacante injeta código malicioso que executa no navegador da vítima, roubando cookies, sessões ou realizando ações em seu nome.

Example

Uma página de busca que exibe o termo procurado sem escape: se o usuário buscar por '<script>alert("hackeado")</script>', esse código é executado no navegador de quem visualizar o resultado. Um atacante pode injetar um script que rouba o token de autenticação.

How to mitigate

Escape ou encode toda entrada antes de renderizá-la (use funções nativas como textContent em JS, template engines com auto-escape como Jinja2 ou escapeHtml). Implemente Content Security Policy (CSP) para restringir execução de scripts inline. Valide e sanitize entrada no servidor, nunca confie apenas em validação client-side.

CVE-2023-2822MEDIUMEllucian Ethos Identity logout cross site scriptingEPSS 3.3%CVE-2021-37859HIGHReflected XSS in OAuth FlowEPSS 3.3%CVE-2022-0967MEDIUMStored XSS via File Upload in star7th/showdoc in star7th/showdoc in star7th/showdocEPSS 3.3%CVE-2022-1439MEDIUMReflected XSS on demo.microweber.org/demo/module/ in microweber/microweberEPSS 3.3%CVE-2021-24308—LifterLMS < 4.21.1 - Authenticated Stored XSS in Edit ProfileEPSS 3.2%CVE-2022-0683MEDIUMEssential Addons for Elementor Lite <= 5.0.8 Reflected Cross-Site ScriptingEPSS 3.2%CVE-2020-16206—The affected product is vulnerable to stored cross-site scripting, which may allow an attacker to remotely execute arbitrary code to gain acEPSS 3.2%CVE-2020-16210—The affected product is vulnerable to reflected cross-site scripting, which may allow an attacker to remotely execute arbitrary code and perEPSS 3.2%CVE-2022-0225—A flaw was found in Keycloak. This flaw allows a privileged attacker to use the malicious payload as the group name while creating a new groEPSS 3.2%CVE-2022-0954MEDIUMMultiple Stored Cross-site Scripting (XSS) Vulnerabilities in Shop's Other Settings, Shop's Autorespond E-mail Settings and Shops' Payments Methods in microweber/microweberEPSS 3.2%CVE-2021-35229MEDIUMCross-Site Scripting Vulnerability using SQL QueryEPSS 3.2%CVE-2021-29460HIGHCross-site scripting (XSS) from unsanitized uploaded SVG filesEPSS 3.2%CVE-2021-3693HIGHCross-site Scripting (XSS) - DOM in ledgersmb/ledgersmbEPSS 3.2%CVE-2021-37216MEDIUMQSAN Storage Manager - Reflected Cross-Site ScriptingEPSS 3.2%CVE-2022-28712CRITICALA cross-site scripting (xss) vulnerability exists in the videoAddNew functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. A speEPSS 3.2%CVE-2022-2130MEDIUMCross-site Scripting (XSS) - Reflected in microweber/microweberEPSS 3.1%CVE-2021-24884—Formidable Form Builder < 4.09.05 - Unauthenticated Stored Cross-Site ScriptingEPSS 3.1%CVE-2021-32853MEDIUMErxes vulnerable to Cross-site ScriptingEPSS 3.1%CVE-2019-15253MEDIUMCisco Digital Network Architecture Center Stored Cross-Site Scripting VulnerabilityEPSS 3.1%CVE-2023-4117MEDIUMPHP Jabbers Rental Property Booking index.php cross site scriptingEPSS 3.1%