What is clickjacking?

Updated May 6, 2026

Short answer

Clickjacking tricks users into clicking hidden UI elements.

Deep explanation

Attackers embed target site in iframe and overlay malicious UI.

Real-world example

Hidden button triggering money transfer.

Common mistakes

  • Allowing iframe embedding without restrictions.

Follow-up questions

  • How to prevent clickjacking?
  • What is UI redressing?

More Web Security interview questions

View all →