CWEweakness
CWE-1173 Improper Use of Validation Framework
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product does not use, or incorrectly uses, an input validation framework that is provided by the source language, framework, or an independent library.
Common consequences
• Integrity: Unexpected State — Unchecked input leads to cross-site scripting, process control, and SQL injection vulnerabilities, among others.
• Other: Reduce Maintainability — Not using provided input validation frameworks can hurt the maintainability of code, since future developers may not recognize the downstream input validation that is required or expected in place of a validation framework.
Potential mitigations
• [Implementation] Properly use provided input validation frameworks.
Detection methods
• Automated Static Analysis: Some instances of improper input validation can be detected using automated static analysis.
A static analysis tool might allow the user to specify which application-specific methods or functions perform input validation; the tool might also have built-in knowledge of validation frameworks such as Struts. The tool may then suppress or de-prioritize any associated warnings. This allows the analyst to focus on areas of the software in which input validation does not appear to be present.
Except in the cases described in the previous paragraph, automated static analysis might not be able to recognize when proper input validation is being performed, leading to false positives - i.e., warnings that do not have any security consequences or require any code changes.
Related
Child of · CWE (1)
- CWE-20 Improper Input Validation weakness
Referenced by CVE · weakness (9)
- CVE-2024-58360 stoatchat versions before 0.7.8 fail to enforce account creation restrictions including invite-only mode, email verification, captcha, and… vulnerability
- CVE-2026-33454 The Camel-Mail component is vulnerable to Camel message header injection. vulnerability
- CVE-2026-33674 PrestaShop is an open source e-commerce web application. vulnerability
- CVE-2025-48490 Laravel Rest Api is an API generator. vulnerability
- CVE-2025-3940 Improper Use of Validation Framework vulnerability in Tridium Niagara Framework on Windows, Linux, QNX, Tridium Niagara Enterprise Security… vulnerability
- CVE-2023-30949 A missing origin validation in Slate sandbox could be exploited by a malicious user to modify the page's content, which could lead to… vulnerability
- CVE-2023-29091 An issue was discovered in Samsung Exynos Mobile Processor, Automotive Processor and Modem for Exynos Modem 5123, Exynos Modem 5300, Exynos… vulnerability
- CVE-2022-1414 3scale API Management 2 does not perform adequate sanitation for user input in multiple fields. vulnerability
- CVE-2020-1640 An improper use of a validation framework when processing incoming genuine BGP packets within Juniper Networks RPD (routing protocols… vulnerability
Referenced by CWE · child of (7)
- CWE-102 Struts: Duplicate Validation Forms weakness
- CWE-105 Struts: Form Field Without Validator weakness
- CWE-106 Struts: Plug-in Framework not in Use weakness
- CWE-108 Struts: Unvalidated Action Form weakness
- CWE-109 Struts: Validator Turned Off weakness
- CWE-1174 ASP.NET Misconfiguration: Improper Model Validation weakness
- CWE-554 ASP.NET Misconfiguration: Not Using Input Validation Framework weakness
Referenced by OWASP · mapped cwe (1)
- A04:2021 Insecure Design Top 10 2021