Weaknesses of type CWE-79

28,612 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-2022-29091MEDIUMDell Unity, Dell UnityVSA, and Dell UnityXT versions prior to 5.2.0.0.5.173 contain a Reflected Cross-Site Scripting Vulnerability in UnisphEPSS 1.0%CVE-2022-21710MEDIUMCross-site Scripting in ShortDescription extensionEPSS 1.0%CVE-2024-2188MEDIUMCross-Site Scripting vulnerability in TP-Link Archer AX50EPSS 1.0%CVE-2024-45176MEDIUMAn issue was discovered in za-internet C-MOR Video Surveillance 5.2401. Due to improper input validation, the C-MOR web interface is vulneraEPSS 1.0%CVE-2022-3608HIGHCross-site Scripting (XSS) - Stored in thorsten/phpmyfaqEPSS 1.0%CVE-2018-16887MEDIUMA cross-site scripting (XSS) flaw was found in the katello component of Satellite. An attacker with privilege to create/edit organizations aEPSS 1.0%CVE-2022-30120—XSS in /dashboard/blocks/stacks/view_details/ - old browsers only. When using an older browser with built-in XSS protection disabled, insuffEPSS 1.0%CVE-2022-0576MEDIUMCross-site Scripting (XSS) - Generic in librenms/librenmsEPSS 1.0%CVE-2023-49293MEDIUMCross-site Scripting in `server.transformIndexHtml` via URL payload in viteEPSS 1.0%CVE-2022-24799CRITICALCross Site Scripting in Wire WebappEPSS 1.0%CVE-2024-39863HIGHApache Airflow: Potential XSS VulnerabilityEPSS 1.0%CVE-2022-48427MEDIUMIn JetBrains TeamCity before 2022.10.3 stored XSS on “Pending changes” and “Changes” tabs was possibleEPSS 1.0%CVE-2023-31506MEDIUMA cross-site scripting (XSS) vulnerability in Grav versions 1.7.44 and before, allows remote authenticated attackers to execute arbitrary weEPSS 1.0%CVE-2022-43144MEDIUMA cross-site scripting (XSS) vulnerability in Canteen Management System v1.0 allows attackers to execute arbitrary web scripts or HTML via aEPSS 1.0%CVE-2024-3192MEDIUMMailCleaner Admin Interface cross site scriptingEPSS 1.0%CVE-2023-36020HIGHMicrosoft Dynamics 365 (on-premises) Cross-site Scripting VulnerabilityEPSS 1.0%CVE-2019-11928—An input validation issue in WhatsApp Desktop versions prior to v0.3.4932 could have allowed cross-site scripting upon clicking on a link frEPSS 1.0%CVE-2020-8348MEDIUMA DOM-based cross-site scripting (XSS) vulnerability was reported in Lenovo Enterprise Network Disk prior to version 6.1 patch 6 hotfix 4 thEPSS 1.0%CVE-2017-2687—Siemens RUGGEDCOM ROX I (all versions) contain a vulnerability in the integrated web server at port 10000/TCP which is prone to reflected CrEPSS 1.0%CVE-2022-1559—Clipr <= 1.2.3 - Admin+ Stored Cross-Site ScriptingEPSS 1.0%