CSACyber Security AuditWebbandflow
Web application vulnerabilities Low

Clickjacking

A trick that overlays a hidden page so a user's clicks are hijacked to perform unintended actions.

What it is

Clickjacking loads a legitimate site invisibly on top of a decoy page, so that when the victim clicks what they think is a harmless button, they are actually clicking something on the hidden site. The user interface is redressed to disguise the real target of the click. It relies on tricking the user rather than breaking the application directly.

Why it matters

It can cause users to unknowingly perform sensitive actions, such as changing settings or confirming a transaction.

How to fix it

Prevent your pages from being embedded in other sites using the X-Frame-Options header or a Content Security Policy frame-ancestors directive.

Related terms

References

← Back to the glossary