KobReySec Logo
Published Last reviewed
Clickjacking, In Plain English

Clickjacking Explained

Clickjacking is a browser-based attack that attempts to trick a user into clicking or interacting with a real application through a page they did not intend to use.

If you landed here because a penetration test identified missing anti-framing protections, this page explains what the finding means, when it matters, how to see the behavior for yourself, and where remediation usually starts.

Usually Low Severity Impact Depends on Context
Start With the Human Version

The User Thinks They Are Clicking One Thing. They Are Actually Clicking Another.

The attack works by placing a legitimate page underneath deceptive or transparent content. The attacker cannot normally read the framed page, but they may still be able to position the victim's click over a real button or control.

The Real Application Is Underneath

The target application is loaded in a frame. The attacker places other content above it so the victim does not realize where the click is actually landing.

The Victim Supplies the Click

Clickjacking generally relies on a real user interaction. The attacker is trying to redirect that interaction toward a meaningful action in the framed application.

The Browser Can Stop the Frame

Anti-framing protections tell the browser which sites, if any, are allowed to embed the application. If the attacker cannot frame the page, the basic attack falls apart.

Test Your Site

Can Your Page Be Framed?

Enter a website address. If the page appears below in the proof-of-concept frame, then the application appears to permit framing by this site. That is useful evidence, but it does not by itself establish meaningful exploitability.

Clickjacking Proof of Concept

No scanning, exploitation, or requests beyond loading the URL in your browser.

Client-Side Test
Only test websites you own or are authorized to assess. The page is loaded directly by your browser into the frame below.

Proof of Concept Viewer No target loaded
Live TargetActual framed page
Enter a URL above to load the proof of concept.
Attacker ViewSame target beneath a deceptive layer
Clickjacking Visualization
Try it: reveal the underlying site, then click or navigate around inside it. The framed application is still live and interactive behind the attacker's layer. This is an illustrative overlay, and a real attacker would position transparent or deceptive controls over a specific action in the framed application.
What the Result Actually Tells You

Frameable Does Not Automatically Mean Exploitable

The tester answers a narrow question: can this page be displayed inside a frame controlled by another site? Risk depends on what happens after that.

If the Page Loads

The target appears to allow this site to frame it. Anti-framing controls may be missing, incomplete, or intentionally permissive.

If the Page Does Not Load

The site may be blocking framing with Content Security Policy (CSP), X-Frame-Options, or other application and browser behavior.

What Still Needs Validation

A tester should determine whether a realistic victim action can be influenced, whether authentication is required, and whether the action creates meaningful impact.

When Does It Matter?

The Important Question Is What the Victim Can Be Tricked Into Doing

A frameable page is the prerequisite. The severity comes from the action an attacker can realistically place under the victim's click.

Usually Low Impact

Static content, marketing pages, read-only information, or pages without meaningful user actions generally provide little value to a clickjacking attacker.

More Interesting When Authenticated

An authenticated application becomes more relevant when the victim's existing session exposes buttons or controls that change data, permissions, settings, or account state.

Severity Rises With Demonstrated Impact

If a tester can reliably position a click over a sensitive action and show a realistic consequence, the issue should be evaluated based on that demonstrated impact rather than the missing header alone.

If This Was in Your Report

Start With the Framing Requirement, Then Apply the Narrowest Policy That Works

Remediation is usually straightforward, but the right policy depends on whether the application legitimately needs to be embedded by another site.

Does the Application Need Framing?

If the answer is no, block framing. Most standalone applications do not need to be embedded by unrelated sites.

If Framing Is Required, Define Who Is Trusted

Use an explicit Content Security Policy to allow only the origins that genuinely need to embed the application. Avoid broad or unnecessary framing permissions.

Retest the Actual Behavior

After the policy is deployed, verify that unauthorized sites can no longer frame the application and that legitimate integrations still work as intended.

How It Is Prevented

Tell the Browser Who May Frame Your Site

Modern applications should generally control framing with the Content Security Policy (CSP) frame-ancestors directive. X-Frame-Options is an older control that is still commonly encountered and may be retained for compatibility.

For new implementations, frame-ancestors is the more flexible option because it can express an explicit list of trusted framing origins.

Block all framing

Content-Security-Policy: frame-ancestors 'none';

Allow only the same origin

Content-Security-Policy: frame-ancestors 'self';

Common legacy equivalent

X-Frame-Options: SAMEORIGIN

Applications that must be embedded by trusted third parties should use an appropriately scoped frame-ancestors policy rather than disabling anti-framing protection entirely.

Keeping It in Perspective

This Usually Isn't the Finding That Ruins Your Week.

Clickjacking is commonly a Low-severity finding when the only demonstrated issue is that a page can be framed. Many bug bounty programs also exclude clickjacking without additional impact.

That does not make the control useless. It means the finding should be evaluated in context. A good penetration test distinguishes between a missing defensive header and a realistic attack that could cause something meaningful to happen.

Your Site Showed Up?

Don't panic. A frameable page is only the beginning of the analysis. KobReySec performs hands-on penetration testing designed to validate exploitability, demonstrate real impact where it exists, and explain what the finding actually means in your environment.