Clickjacking is an attack where a user is tricked into clicking on obscured elements on a website. Attackers can embed a target site in an invisible iframe to trick users into performing actions like posting messages without their consent. Adding the X-Frame-Options header is an effective defense, but many older browsers and sites remain vulnerable. Clickjacking remains a risk because client-side defenses can be bypassed and many sites have not implemented the server-side X-Frame-Options header.