SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysisPro

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 with SiteShadow Pro.

This vulnerability class is detected by SiteShadow's Pro-tier engines, two-pass interprocedural taint analysis, heuristic flow checks, AI-context scanning, and cross-file detection. The free tier catches OWASP Top 10 single-file patterns; Pro adds the data-flow depth that finds this class of bug.