SiteShadow
Back to vulnerability library

CWE-451 User Interface Misrepresentation

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

Request access View coverage