SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysis

CWE-1022 UI Redress Attacks

Coverage: 3 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 2Other-pattern 1 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 a risk of UI redress: attackers manipulate what a user sees (or where they click) to make them perform unintended actions. Clickjacking via iframes is the common case, but overlays and deceptive UI flows also qualify.

Why it matters

UI redress can cause unintended actions or data disclosure.

Safer examples

1) Prevent framing for sensitive pages

Use CSP frame-ancestors and X-Frame-Options (see CWE-1021 / CLICK01).

2) Add step-up confirmations for dangerous actions

Use explicit confirmations / re-auth / MFA for actions like changing email, transferring funds, or granting admin access.

3) Use anti-CSRF and verify intent server-side

UI defenses help, but the server should also verify the request is legitimate (see CWE-352).

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.