Weaknesses of type CWE-791

42 results

Filtragem Incompleta de Elementos Especiais

Ocorre quando a aplicação tenta filtrar ou remover caracteres/elementos perigosos, mas deixa brechas na lógica de validação. Um atacante contorna o filtro usando variações não previstas (encoding alternativo, aninhamento, caracteres ignorados) para injetar código malicioso. O perigo está na falsa sensação de segurança: o desenvolvedor acredita estar protegido, mas não está.

Example

Um formulário bloqueia a tag `<script>`, mas aceita `<ScRiPt>` (caso diferente), `<SCRIPT >` (espaço), ou `<svg onload=...>` (tag alternativa). O filtro é incompleto e o XSS passa direto.

How to mitigate

Use whitelist de elementos permitidos em vez de blacklist; aplique função de sanitização robusta (como DOMPurify em JS ou bibliotecas equivalentes); valide e normalize a entrada antes de filtrar; e teste com variações deliberadas (encoding, case variations, aninhamento) para garantir que o filtro funciona em todos os casos.

CVE-2022-21668HIGHPipenv's requirements.txt parsing allows malicious index url in commentsEPSS 3.9%CVE-2022-2132—A permissive list of allowed inputs flaw was found in DPDK. This issue allows a remote attacker to cause a denial of service triggered by seEPSS 2.2%CVE-2026-47323CRITICALApache Camel: Camel-CXF Message Header Injection via Missing Inbound FilteringEPSS 1.6%CVE-2026-86206MEDIUMAccess control filter bypass allows unauthorised access to APIsEPSS 1.1%CVE-2026-29186HIGH@backstage/plugin-techdocs-node: TechDocs Mkdocs Configuration Key Enables Arbitrary Code ExecutionEPSS 0.9%CVE-2026-2969MEDIUMdatapizza-labs datapizza-ai Jinja2 Template prompt.py ChatPromptTemplate special elements used in a template engineEPSS 0.8%CVE-2024-47590HIGHCross-Site Scripting (XSS) vulnerability in SAP Web DispatcherEPSS 0.8%CVE-2026-3725MEDIUM1024-lab/lab1024 SmartAdmin FreeMarker Template MailService.java freemarkerResolverContent special elements used in a template engineEPSS 0.6%CVE-2024-8373MEDIUMAngularJS improper sanitization in '<source>' elementEPSS 0.6%CVE-2024-39899MEDIUMPrivateBin allows shortening of URLs for other domainsEPSS 0.6%CVE-2026-7164HIGHpf can overflow the stack parsing crafted SCTP packetsEPSS 0.5%CVE-2026-11998HIGHAngularJS XSS via SCE resource URL sanitization bypassEPSS 0.5%CVE-2026-19929MEDIUMOpenBoxes Template Processing DocumentController.groovy buildZebraTemplate special elements in template engineEPSS 0.5%CVE-2025-5325MEDIUMzhilink 智互联(深圳)科技有限公司 ADP Application Developer Platform 应用开发者平台 testService special elements used in a template engineEPSS 0.5%CVE-2026-48208MEDIUMDenial-of-Service via SVG Rendering in TicketEPSS 0.5%CVE-2025-2040MEDIUMzhijiantianya ruoyi-vue-pro deploy special elements used in a template engineEPSS 0.5%CVE-2026-3714MEDIUMOpenCart Incomplete Fix CVE-2024-36694 template.php save special elements used in a template engineEPSS 0.5%CVE-2026-44232HIGHdssrf: every IPv6 category bypasses is_url_safeEPSS 0.5%CVE-2025-14731MEDIUMCTCMS Content Management System Frontend/Template Management CT_Parser.php special elements used in a template engineEPSS 0.4%CVE-2025-3841MEDIUMwix-incubator jam Jinja2 Template jam.py special elements used in a template engineEPSS 0.4%