CWE•Variant•Incomplete•0 recent CVEs
CWE-102Struts: Duplicate Validation Forms
Description
The product uses multiple Struts validation forms with the same name.
Common consequences
- Integrity→Unexpected StateIf 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
Potential mitigations
- ImplementationThe DTD or schema validation will not catch the duplicate occurrence of the same form name. To find the issue in the implementation, manual checks or automated static analysis could be applied to the xml configuration files.