Weaknesses of type CWE-79

30,371 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-2018-0411—A vulnerability in the web-based management interface of Cisco Unified Communications Manager could allow an unauthenticated, remote attackeEPSS 1.8%CVE-2018-0366—A vulnerability in the web-based management interface of Cisco Web Security Appliance (WSA) could allow an unauthenticated, remote attacker EPSS 1.8%CVE-2018-0396—A vulnerability in the web framework of the Cisco Unified Communications Manager IM and Presence Service software could allow an authenticatEPSS 1.8%CVE-2023-4110LOWPHP Jabbers Availability Booking Calendar index.php cross site scriptingEPSS 1.8%CVE-2022-1946—Gallery < 2.0.0 - Reflected Cross-Site ScriptingEPSS 1.8%CVE-2022-35493MEDIUMA Cross-site scripting (XSS) vulnerability in json search parse and the json response in wrteam.in, eShop - Multipurpose Ecommerce Store WebEPSS 1.8%CVE-2022-0234—WOOCS < 1.3.7.5 - Reflected Cross-Site ScriptingEPSS 1.8%CVE-2022-22577—An XSS Vulnerability in Action Pack >= 5.2.0 and < 5.2.0 that could allow an attacker to bypass CSP for non HTML like responses.EPSS 1.8%CVE-2023-49943MEDIUMZoho ManageEngine ServiceDesk Plus MSP before 14504 allows stored XSS (by a low-privileged technician) via a task's name in a time sheet.EPSS 1.8%CVE-2022-43982MEDIUMApache Airflow prior to 2.4.2 allows reflected XSS via Origin Query Argument in URLEPSS 1.8%CVE-2021-24229—Patreon WordPress < 1.7.2 - Reflected XSS on patreon_save_attachment_patreon_level AJAX actionEPSS 1.8%CVE-2020-9735MEDIUMStored XSS in AEM's Content Repository Development EnvironmentEPSS 1.8%CVE-2020-9736MEDIUMStored XSS in AEM's Content Repository Development EnvironmentEPSS 1.8%CVE-2023-6379MEDIUMCross-site Scripting in Alkacon Software OpenCmsEPSS 1.8%CVE-2022-43018MEDIUMOpenCATS v0.9.6 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the email parameter in the Check Email fuEPSS 1.8%CVE-2022-43017MEDIUMOpenCATS v0.9.6 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the indexFile component.EPSS 1.8%CVE-2022-43016MEDIUMOpenCATS v0.9.6 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the callback component.EPSS 1.8%CVE-2021-24233—Cooked Pro < 1.7.5.6 - Unauthenticated Reflected Cross Site Scripting (XSS)EPSS 1.7%CVE-2023-51630HIGHPaessler PRTG Network Monitor Cross-Site Scripting Authentication Bypass VulnerabilityEPSS 1.7%CVE-2018-0328—A vulnerability in the web framework of Cisco Unified Communications Manager and Cisco Unified Presence could allow an unauthenticated, remoEPSS 1.7%