Clickjacking
1-minute read
What it is
Clickjacking is a UI-based attack where malicious content is layered over legitimate web elements, tricking users into clicking on actions they did not intend to perform.
Why it matters
Victims may unknowingly change security settings, authorize transactions, or grant permissions. Clickjacking exploits user trust and can bypass traditional security controls when sensitive pages are allowed inside iframes.
How to reduce risk
- Use
X-Frame-Optionsor strictContent-Security-Policyframe-ancestors directives - Prevent sensitive workflows from being embedded in iframes or overlays
Related Terms: Content Security Policy, Frontend Security Headers, Open Redirect
External Resources:
- OWASP – Clickjacking: https://owasp.org/www-community/attacks/Clickjacking