Weaknesses of type CWE-79

28,607 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-0340—A vulnerability in the web framework of the Cisco Unified Communications Manager (Unified CM) software could allow an authenticated, remote EPSS 1.3%CVE-2024-41150MEDIUMStored XSSEPSS 1.3%CVE-2017-1303MEDIUMIBM WebSphere Portal and Web Content Manager 7.0, 8.0, 8.5, and 9.0 is vulnerable to cross-site scripting. This vulnerability allows users tEPSS 1.3%CVE-2020-11001MEDIUMPossible XSS attack in WagtailEPSS 1.3%CVE-2024-57273MEDIUMNetgate pfSense CE (prior to 2.8.0 beta release) and corresponding Plus builds is vulnerable to Cross-site scripting (XSS) in the Automatic EPSS 1.3%CVE-2022-1051—WPQA < 5.2 - Subscriber+ Stored Cross-Site Scripting via Profile fieldsEPSS 1.3%CVE-2019-1668MEDIUMCisco SocialMiner Chat Feed Cross-Site Scripting VulnerabilityEPSS 1.3%CVE-2019-1827MEDIUMCisco Small Business RV320 and RV325 Routers Online Help Reflected Cross-Site Scripting VulnerabilityEPSS 1.3%CVE-2019-1941MEDIUMCisco Identity Services Engine Cross-Site Scripting VulnerabilityEPSS 1.3%CVE-2018-0400—Multiple vulnerabilities in the web-based management interface of Cisco Unified Contact Center Express (Unified CCX) could allow an unauthenEPSS 1.3%CVE-2022-46073MEDIUMHelmet Store Showroom 1.0 is vulnerable to Cross Site Scripting (XSS).EPSS 1.3%CVE-2018-15440MEDIUMCisco Identity Services Engine Multiple Cross-Site Scripting VulnerabilitiesEPSS 1.3%CVE-2022-31064MEDIUMCross site scripting in username that will trigger by sending chatEPSS 1.3%CVE-2023-49088MEDIUMCacti has incomplete fix for CVE-2023-39515EPSS 1.3%CVE-2025-23199MEDIUMStored XSS-LibreNMS-Ports in librenmsEPSS 1.3%CVE-2023-51072MEDIUMA stored cross-site scripting (XSS) vulnerability in the NOC component of Nagios XI version up to and including 2024R1 allows low-privilegedEPSS 1.3%CVE-2022-0535—E2Pdf < 1.16.45 - Admin+ Stored Cross-Site Scripting (XSS)EPSS 1.3%CVE-2022-35740MEDIUMdotCMS before 22.06 allows remote attackers to bypass intended access control and obtain sensitive information by using a semicolon in a URLEPSS 1.3%CVE-2024-8695CRITICALA remote code execution (RCE) vulnerability via crafted extension description/changelog could be abused by a malicious extension in Docker Desktop before 4.34.2.EPSS 1.3%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%