WP Anti-Clickjack WordPress Plugin | Codefreex Skip to content
WP Anti-Clickjack icon

WordPress plugin

WP Anti-Clickjack

Protect your WordPress site from clickjacking with X-Frame-Options and CSP frame-ancestors headers plus a frame breaking script.

By Andy Feliciotti3K+ active installs5.0 out of 5
Active installs
3K+
Rating
5.0 / 5
Version
1.9.0
Last updated
Nov 28, 2026
Tested up to
WordPress 7.2
Requires
WP 5.0 · PHP 7.0

Health check

Is WP Anti-Clickjack safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on November 28, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.2.

Few ratings so far

Only 3 ratings on WordPress.org, so the average is not yet a reliable signal.

Requires PHP 7.0 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where WP Anti-Clickjack ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for WP Anti-Clickjack
KeywordPositionChangeTrendCurrent #1
anti click jacking
browser frame breaking script
clickjacking
security
wp anti-clickjack

Checked against the top 100 WordPress.org search results.

Overview

What WP Anti-Clickjack does

WP Anti-Clickjack is a powerful security plugin that helps prevent your WordPress site from being vulnerable to clickjacking attacks. Clickjacking is a malicious technique where an attacker tricks users into clicking on a concealed link or button by overlaying it on your legitimate website.

This plugin implements two key defense mechanisms:

Frame protection headers: The plugin adds the X-Frame-Options: SAMEORIGIN and Content-Security-Policy: frame-ancestors 'self' HTTP headers to your site’s pages. They instruct web browsers to prevent other websites from embedding your site within an iframe, effectively blocking clickjacking attempts. A Content-Security-Policy your site already sends is left in place, and WordPress post embeds stay embeddable on other sites.

OWASP’s Legacy Browser Frame Breaking Script: The plugin includes a modified version of OWASP’s legacy browser frame breaking script. This script prevents other sites from putting your site in an iframe, even in browsers that don’t support the X-Frame-Options header. The script is optimized to work seamlessly in browsers with and without JavaScript enabled.

By combining these two security measures, WP Anti-Clickjack provides comprehensive protection against clickjacking attacks, ensuring the safety and integrity of your WordPress site.

For more information about clickjacking defense techniques, refer to the OWASP Clickjacking Defense Cheat Sheet.

Adds the X-Frame-Options: SAMEORIGIN and Content-Security-Policy: frame-ancestors 'self' HTTP headers to prevent clickjacking

Description from the author's listing. Read the full listing on WordPress.org

FAQ

WP Anti-Clickjack: questions and answers

What is WP Anti-Clickjack?

WP Anti-Clickjack is a WordPress plugin by Andy Feliciotti. Protect your WordPress site from clickjacking with X-Frame-Options and CSP frame-ancestors headers plus a frame breaking script.

Is WP Anti-Clickjack free?

WP Anti-Clickjack is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use WP Anti-Clickjack?

WordPress.org reports 3K+ active installations of WP Anti-Clickjack. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is WP Anti-Clickjack still maintained?

WP Anti-Clickjack was last updated on November 28, 2026. The current version is 1.9.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does WP Anti-Clickjack require?

WP Anti-Clickjack requires WordPress 5.0 or newer and PHP 7.0 or newer. It has been tested up to WordPress 7.2.

Can Codefreex set up or customize WP Anti-Clickjack?

Yes. Codefreex installs, configures and customizes WordPress plugins including WP Anti-Clickjack, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need WP Anti-Clickjack set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us