CWE-102
Overview
- CWE ID
- 102
- CWE Name
- Struts: Duplicate Validation Forms
- CWE Abstraction
- Variant
- CWE structure
- Simple
- CWE Status
- Incomplete
Description
The application uses multiple validation forms with the same name, which might cause the Struts Validator to validate a form that the programmer does not expect.
Extended Description
If two validation forms have the same name, the Struts Validator arbitrarily chooses one of the forms to use for input validation and discards the other. This decision might not correspond to the programmer's expectations, possibly leading to resultant we