CWE-107: Struts: Unused Validation Form
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
An unused validation form indicates that validation logic is not up-to-date.
扩展描述
It is easy for developers to forget to update validation logic when they remove or rename action form mappings. One indication that validation logic is not being properly maintained is the presence of an unused validation form.
常见后果
影响范围: Other
技术影响: Quality Degradation
潜在缓解措施
阶段: Implementation
描述: Remove the unused Validation Form from the validation.xml file.
引入模式
| 阶段 | 说明 |
|---|---|
| Implementation | - |
| Operation | - |
适用平台
编程语言
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| 7 Pernicious Kingdoms | - | Struts: Unused Validation Form | - |