Fallos del tipo CWE-20

5439 resultados

Validação inadequada de entrada

A aplicação recebe dados de fontes externas (usuário, API, arquivo) sem verificar se estão no formato, tamanho ou tipo esperado antes de usá-los. Isso permite que um atacante envie dados malformados ou maliciosos que podem causar erros, corrupção de dados, execução de código ou acesso não autorizado.

Ejemplo

Um formulário que aceita um número de idade sem validar se é um inteiro positivo entre 0 e 150. Um atacante envia idade=-5 ou idade='DROP TABLE users;' via SQL, e o código processa isso diretamente no banco sem sanitização, causando dano.

Cómo mitigar

Valide TODA entrada externa: verificar tipo, tamanho, formato e intervalo permitido antes de usar. Use whitelists (aceitar apenas valores conhecidos como seguros) em vez de blacklists, e aplique sanitização ou prepared statements para dados que vão em queries. Testes de entrada fuzzing também ajudam a encontrar gaps.

CVE-2025-66921HIGHA Cross-site scripting (XSS) vulnerability in Create/Update Item(s) Module in Open Source Point of Sale v3.4.1 allows remote attackers to inEPSS 0.6%CVE-2026-46453MEDIUMApache Camel: Camel-Elasticsearch-Rest-Client: Exchange header constants without the Camel prefix bypass inbound HTTP header filtering, allowing untrusted clients to override the Elasticsearch query and operationEPSS 0.6%CVE-2024-2339HIGHImproper Input Validation in PostgreSQL Anonymizer 1.2 allows table owner to gain superuser privileges via masking ruleEPSS 0.6%CVE-2025-66923HIGHA Cross-site scripting (XSS) vulnerability in Create/Update Customer(s) in Open Source Point of Sale v3.4.1 allows remote attackers to injecEPSS 0.6%CVE-2022-37395HIGHA Huawei device has an input verification vulnerability. Successful exploitation of this vulnerability may lead to DoS attacks.Affected prodEPSS 0.6%CVE-2024-6207HIGHCVE 2021-22681 https://www.rockwellautomation.com/en-us/trust-center/security-advisories/advisory.PN1550.html  and send a specially crafted EPSS 0.6%CVE-2024-3372HIGHMongoDB Server may have unexpected application behaviour due to invalid BSONEPSS 0.5%CVE-2024-25974MEDIUMStored Cross-Site Scripting (XSS) within the Media CenterEPSS 0.5%CVE-2024-45422MEDIUMZoom Apps - Improper Input ValidationEPSS 0.5%CVE-2023-20232MEDIUMA vulnerability in the Tomcat implementation for Cisco Unified Contact Center Express (Unified CCX) could allow an unauthenticated, remote aEPSS 0.5%CVE-2025-61546CRITICALThere is an issue on the /PSP/appNET/Store/CartV12.aspx/GetUnitPrice endpoint in edu Business Solutions Print Shop Pro WebDesk version 18.34EPSS 0.5%CVE-2023-21516HIGHXSS vulnerability from InstantPlay in Galaxy Store prior to version 4.5.49.8 allows attackers to execute javascript API to install APK from EPSS 0.5%CVE-2023-29359HIGHGDI Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2020-5131—SonicWall NetExtender Windows client vulnerable to arbitrary file write vulnerability, this allows attacker to overwrite a DLL and execute cEPSS 0.5%CVE-2025-34047HIGHLeadsec VPN Path Traversal Arbitrary File ReadEPSS 0.5%CVE-2023-4586HIGHHotrod-client: hot rod client does not enable hostname validation when using tls that lead to a mitm attackEPSS 0.5%CVE-2026-43935HIGHe107: Host Header Injection in e107 password reset enables phishingEPSS 0.5%CVE-2023-22452MEDIUMImproper Input Validation in kenny2automateEPSS 0.5%CVE-2025-1026HIGHVersions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation due to improper URL validation through tEPSS 0.5%CVE-2024-3584CRITICALPath Traversal in qdrant/qdrantEPSS 0.5%