SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysis

CWE-451 User Interface Misrepresentation

Coverage: 5 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 5 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 UI behavior or messaging that can mislead users about what is actually happening (security state, identity, authorization, privacy, or where data is going). This includes "looks successful but failed", "looks private but isn't", or "looks like you're logged out but session remains".

Why it matters

Misleading UI can cause users to make unsafe decisions.

Safer examples

1) Make security state explicit and server-confirmed

Don't show "Saved" or "2FA enabled" until the server confirms success.

2) Use clear, consistent labels for sensitive actions

Avoid vague buttons like "OK" for destructive actions; use "Delete account", "Transfer $X", etc.

3) Close the loop on logout/permission changes

After logout, invalidate server-side sessions/tokens and verify the user is actually unauthenticated (see CWE-613 / CWE-287).

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.