---
title: "CWE-1173: Improper Use of Validation Framework"
url: https://radicalnotion.ai/cwe/cwe-1173
type: cwe
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."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1173: Improper Use of Validation Framework

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 14
- **Of those, in CISA KEV:** 0
- **New in 2026:** 4
- **CWE catalog version:** 4.21

## 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.

## Background

Many modern programming languages provide developers with input validation frameworks to make the task of input validation easier and less error-prone. These frameworks will automatically check all input against specified criteria and direct execution to error handlers when invalid input is received.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | This weakness may occur when software designers do not choose to leverage input validation frameworks provided by the source language. |
| Implementation | This weakness may occur when developers do not correctly use a provided input validation framework. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| 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.

## Real CVEs with this weakness (sample of 12 of 14)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-3940 | Improper Use of Validation Framework | critical | 9.8 | - | No | 2025-05-22 |
| CVE-2026-120642 | CGI versions before 5.00 for Perl return request-derived values untainted under taint mode | critical | 9.1 | - | No | 2026-11-03 |
| CVE-2022-1414 | 3scale-system: script injection in multiple endpoints | high | 8.8 | - | No | 2022-10-19 |
| CVE-2019-25059 | ghostscript: Mishandling of .completefont (incomplete fix for CVE-2019-3839) | high | 7.8 | - | No | 2022-04-25 |
| CVE-2023-29091 | - | high | 7.5 | - | No | 2023-04-14 |
| CVE-2022-27451 | mariadb: crash via window function in expression in ORDER BY | high | 7.5 | - | No | 2022-04-14 |
| CVE-2020-1640 | Junos OS: Receipt of certain genuine BGP packets from any BGP Speaker causes RPD to crash. | high | 7.5 | - | No | 2020-07-17 |
| CVE-2024-58360 | stoatchat before 0.7.8 Unrestricted Account Creation | medium | 6.9 | - | No | 2026-07-16 |
| CVE-2022-27337 | poppler: A logic error in the Hints::Hints function can cause denial of service | medium | 6.5 | - | No | 2022-05-05 |
| CVE-2022-22589 | iOS and iPadOS: WebKit - Processing a maliciously crafted mail message may lead to running arbitrary javascript | medium | 6.1 | - | No | 2022-03-18 |
| CVE-2026-33674 | PrestaShop: Improper Use of Validation Framework | medium | 5.3 | - | No | 2026-03-26 |
| CVE-2023-30949 | CVE-2023-30949 | medium | 5.3 | - | No | 2023-07-26 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation |
| Child | [CWE-102](https://radicalnotion.ai/cwe/cwe-102) | Struts: Duplicate Validation Forms |
| Child | [CWE-105](https://radicalnotion.ai/cwe/cwe-105) | Struts: Form Field Without Validator |
| Child | [CWE-106](https://radicalnotion.ai/cwe/cwe-106) | Struts: Plug-in Framework not in Use |
| Child | [CWE-108](https://radicalnotion.ai/cwe/cwe-108) | Struts: Unvalidated Action Form |
| Child | [CWE-109](https://radicalnotion.ai/cwe/cwe-109) | Struts: Validator Turned Off |
| Child | [CWE-554](https://radicalnotion.ai/cwe/cwe-554) | ASP.NET Misconfiguration: Not Using Input Validation Framework |
| Child | [CWE-1174](https://radicalnotion.ai/cwe/cwe-1174) | ASP.NET Misconfiguration: Improper Model Validation |

## Frequently asked questions

### What is CWE-1173?

The product does not use, or incorrectly uses, an input validation framework that is provided by the source language, framework, or an independent library.

### What CVEs are caused by CWE-1173?

14 recorded CVEs are attributed to CWE-1173, including CVE-2025-3940, CVE-2026-120642 and CVE-2022-1414.

### How do you prevent CWE-1173?

Properly use provided input validation frameworks.

### How is CWE-1173 detected?

Automated Static Analysis: Some instances of improper input validation can be detected using automated static analysis.

### What are the consequences of CWE-1173?

Exploiting CWE-1173 can lead to: Unexpected State, Reduce Maintainability.

### Is CWE-1173 actively exploited?

14 recorded CVEs are caused by CWE-1173; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1173.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1173). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
