Weaknesses of type CWE-79

28,635 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-2024-24276CRITICALCross Site Scripting (XSS) vulnerability in Teamwire Windows desktop client v.2.0.1 through v.2.4.0 allows a remote attacker to obtain sensiEPSS 0.9%CVE-2024-24275CRITICALCross Site Scripting vulnerability in Teamwire Windows desktop client v.2.0.1 through v.2.4.0 allows a remote attacker to obtain sensitive iEPSS 0.9%CVE-2017-12292—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2018-0190—Multiple vulnerabilities in the web-based user interface (web UI) of Cisco IOS XE Software could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12320—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2017-12290—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2022-0986LOWReflected Cross-site Scripting (XSS) Vulnerability in hestiacp/hestiacpEPSS 0.9%CVE-2018-0186—Multiple vulnerabilities in the web-based user interface (web UI) of Cisco IOS XE Software could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12323—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2018-0128—A vulnerability in the web-based management interface of Cisco Data Center Analytics Framework could allow an unauthenticated, remote attackEPSS 0.9%CVE-2017-12257—A vulnerability in the web framework of Cisco WebEx Meetings Server could allow an unauthenticated, remote attacker to conduct a cross-site EPSS 0.9%CVE-2018-0098—A vulnerability in the web-based management interface of Cisco WAP150 Wireless-AC/N Dual Radio Access Point with Power over Ethernet (PoE) aEPSS 0.9%CVE-2018-0129—A vulnerability in the web-based management interface of Cisco Data Center Analytics Framework could allow an unauthenticated, remote attackEPSS 0.9%CVE-2018-0188—Multiple vulnerabilities in the web-based user interface (web UI) of Cisco IOS XE Software could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12322—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2018-0145—A vulnerability in the web-based management interface of the Cisco Data Center Analytics Framework application could allow an unauthenticateEPSS 0.9%CVE-2017-12321—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2017-12220—A vulnerability in the web-based management interface of Cisco Firepower Management Center could allow an unauthenticated, remote attacker tEPSS 0.9%CVE-2017-12291—Multiple vulnerabilities in the web interface of the Cisco Registered Envelope Service (a cloud-based service) could allow an unauthenticateEPSS 0.9%CVE-2021-29489HIGHOptions structure open to XSS if passed unfilteredEPSS 0.9%