CWE-104

Struts: Form Bean Does Not Extend Validation Class

Medium

Description

If a form bean does not extend an ActionForm subclass of the Validator framework, it can expose the application to other weaknesses related to insufficient input validation.

Potential Impact

How to Fix

Implementation

Ensure that all forms extend one of the Validation Classes.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-104 vulnerabilities in your codebase.

Get Security Assessment