SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysis

CWE-103 Struts Incomplete validate() Method

Coverage: 2 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 2 Also: Taint and heuristic analyzers may also detect related flows (see coverage for the authoritative list) Registry tagging shows intent, for sample-level behaviour and benchmarked gaps see known gaps.

What this means

SiteShadow flagged incomplete or missing server-side validation. The CWE name references Struts' validate() method, but the core risk applies to any app where validation exists but doesn't actually cover all fields, edge cases, or dangerous inputs.

Why it matters

Missing validation allows unsafe input to pass through.

Safer examples

1) Validate the full shape, not just a couple fields

Use schema validation so "extra" or missing fields are rejected (see CWE-20).

2) Canonicalize and validate consistently

Decode/normalize once, then validate the canonical form (see CWE-116 / CWE-436).

3) Add abuse-case tests for validation

Test long strings, weird encodings, null/empty values, and known bypass payloads so validation stays complete over time.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Catch this in your code with SiteShadow.

Every released SiteShadow scanner is free, including full project analysis, reports, patterns, dashboard access, and configured organization SSO.