WordPress plugin intelligence profile

Headers Security Advanced & HSTS WP

Best all-in-one WordPress security plugin, uses HTTP & HSTS response headers to avoid vulnerabilities: XSS, injection, clickjacking. Force HTTP/HTTPS.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version5.3.6
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 4.7 · PHP 7.4
Directory statusactive
Last directory update30 Oct 20262d ago
Active installations90K+Adoption metric — not a quality score
WordPress.org rating4.9 / 5 from 79 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Headers Security Advanced & HSTS WP version 5.3.6 as active, updated 2d ago and tested up to WordPress 7.0.

Overview

About this plugin

Headers Security Advanced & HSTS WP is Best all-in-one a free plug-in for all WordPress users. Deactivating this plugin will return your site configuration exactly to the state it was in before.

The Headers Security Advanced & HSTS WP project implements HTTP response headers that your site can use to increase the security of your website. The plug-in will automatically set up all Best Practices (you don’t have to think about anything), these HTTP response headers can prevent modern browsers from running into easily predictable vulnerabilities. The Headers Security Advanced & HSTS WP project wants to popularize and increase awareness and usage of these headers for all wordpress users.

This plugin is developed by OpenHeaders by irn3, we care about WordPress security and best practices.

Check out the best features of Headers Security Advanced & HSTS WP:

  • X-XSS-Protection (Deprecated)
  • Pragma (Deprecated)
  • Public-Key-Pins (Deprecated)
  • Expect-CT (Deprecated)
  • Access-Control-Allow-Origin
  • Access-Control-Allow-Methods
  • Access-Control-Allow-Headers
  • X-Content-Security-Policy
  • X-Content-Type-Options
  • X-Frame-Options
  • X-Permitted-Cross-Domain-Policies
  • X-Powered-By
  • Content-Security-Policy
  • Referrer-Policy
  • HTTP Strict Transport Security / HSTS
  • Content-Security-Policy
  • Content-Security-Policy-Report-Only
  • Clear-Site-Data
  • Cross-Origin-Embedder-Policy-Report-Only
  • Cross-Origin-Opener-Policy-Report-Only
  • Cross-Origin-Embedder-Policy
  • Cross-Origin-Opener-Policy
  • Cross-Origin-Resource-Policy
  • Permissions-Policy
  • Strict-dynamic
  • Strict-Transport-Security
  • FLoC (Federated Learning of Cohorts)

Headers Security Advanced & HSTS WP is based on OWASP CSRF to protect your wordpress site. Using OWASP CSRF, once the plugin is installed, it will provide full CSRF mitigation without having to call a method to use nonce on the output. The site will be secure despite having other vulnerable plugins (CSRF).

HTTP security headers are a critical part of your website’s security. After automatic implementation with Headers Security Advanced & HSTS WP, they protect you from the most notorious types of attacks your site might encounter. These headers protect against XSS, code injection, clickjacking, etc.

We have put a lot of effort into making the most important services operational with Content Security Policy (CSP), below are some examples that we have tested and used with Headers Security Advanced & HSTS WP:

  • CSP usage for Google Tag Manager

world’s most popular tag manager

  • Using CSP for Gravatar

Avatar service for WordPress and Social sites

  • Using CSP for WordPress Internal Media

support WordPress media

  • Using CSP for Youtube Embedded Video SDK

support Youtube embedded frames and JS SDK

  • CSP usage for CookieLaw

privacy technology to meet regulatory requirements

  • CSP usage for Mailchimp

support for Mailchimp automation, SDK and modules

  • CSP usage for Google Analytics

com

  • CSP usage for Google Fonts

you’re not loading it on the page, chances are one of your SDKs is using it

  • Using CSP for Facebook

support Facebook SDK functionality

  • Using CSP for Stripe

highly secure online payment system

  • Using CSP for New Relic

it’s a registration and monitoring utility

  • Using CSP for Linkedin Tags + SDKs

support Linkedin Insight, Linkedin Ads and SDK

  • Using CSP for OneTrust

OneTrust support helps companies manage privacy requirements

  • CSP usage for Moat

Moat support to measurement suite such as: ad verification, brand safety, advertising and coverage

  • CSP usage for jQuery

support of jQuery – JS library

  • CSP usage for Twitter Widgets & SDKs

support Connect, Widgets and the Twitter client-side SDK

  • Using CSP for Google Maps

support Google Maps as The ggpht used by streetview

  • Using CSP for Quantcast Choice

Quantcast support for privacy such as GDPR and CCPA

  • CSP usage for Twitter Ads & Analytics

Twitter support for advertising and Analytics

  • Using CSP for Paypal

PayPal support for online payment system

  • Using CSP for Drift

Drift and Driftt support

  • CSP usage for Cookiebot

cookie and tracker support, GDPR/ePrivacy and CCPA compliance

  • CSP usage for Vimeo Embedded Videos SDK

support frames, JS SDK, Froogaloop integration

  • Using CSP for AppNexus (now Xandr)

AppNexus support for custom retargeting

  • Using CSP for Mixpanel

support analytics tool with SDK/JS to collect client-side data

  • Using CSP for Font Awesome

toolkit support for fonts and icons over CSS and Less

  • Using CSP for Google reCAPTCHA

reCAPTCHA support for fraud and bot protection

  • CSP usage for Bootstrap CDN

Bootstrap support for CSS frameworks

  • Using CSP for HubSpot

Hubspot support with many features, used for monitoring and mkt functionality

  • Using CSP for Hotjar

Hotjar tracker support for analytics and metrics

  • Using CSP for WP.com

com hosting

  • Using CSP for Akamai mPulse

support for Akamai mPulse, for origin and perimeter integrations

  • CSP usage for Cloudflare – Rocket-Loader & Mirage

support for Mirage libraries for performance acceleration

  • Using CSP for Cloudflare – CDN.js

Cloudflare’s open CDN support with multiple libraries

  • Using CSP for jsDelivr

support jsDelivr free CDN for Open Source

Headers Security Advanced & HSTS WP is based on the OWASP CSRF standard to protect your wordpress site. Using the OWASP CSRF standard, once the plugin is installed, you can customize CSP rules for full CSRF mitigation. The site will be secure despite having other vulnerable plugins (CSRF).

Integration with Sentry, Report URI, URIports and Datadog

Sentry is a well-known platform for monitoring and tracking errors in applications. By integrating Sentry with our plugin, users can:

* Receive detailed reports on content security policy (CSP) violations.

* Monitor and analyze JavaScript exceptions occurring on their site.

* Benefit from advanced tools for proactive troubleshooting.

Monitoring and Integration with Sentry, Datadog and URI Reports for optimal security.

Free Forever

Every security header, every configuration option, and every protection this plugin offers today will remain completely free. No features will ever be moved behind a paywall. Shield is a separate set of brand-new monitoring tools built on top.

The free plugin gets better because Shield exists, not worse.

Even though FLoC is still fairly new and not yet widely supported, as programmers we think that privacy protection elements are important, so we choose to give you the feature of being opt out of FLoC! We’ve created a special “automatic blocking of FLoC” feature, trying to always offer the best tool with privacy protection and cyber security as main targets and focus.

Analyze your site before and after using Headers Security Advanced & HSTS WP security headers are self-configured according to HTTP Security Headers and HTTP Strict Transport Security / HSTS best practices.

  • Check HTTP Security Headers on securityheaders.com
  • Check HTTP Strict Transport Security / HSTS at hstspreload.org
  • Check WebPageTest at webpagetest.org
  • Check HSTS test website gf.dev/hsts-test
  • Check CSP test website csper.io/evaluator
  • Check CSP Evaluator csp-evaluator.withgoogle.com
  • CSP Content Security Policy Generator addons.mozilla.org

This plugin is updated periodically, our limited support is free, we are available for your feedback (bugs, compatibility issues or recommendations for next updates). We are usually fast:-D.

Shield — Advanced Features (Optional)

Every feature this plugin offers today is and will remain completely free, forever. Shield is a separate set of brand-new advanced tools for professionals who need deeper monitoring and automation:

  • Security Advisor — Analyzes your configuration and gives personalized recommendations in plain language
  • CSP Guide — Recommended tools, safe workflow, WordPress-specific CSP snippets, and CSP FAQ
  • Security Score Dashboard — Real-time A+ to F grade with header status for all 10 security headers
  • Email & Webhook Alerts — Get notified via email, Slack, Discord, Microsoft Teams, or custom webhook when something changes
  • CSP Violation Analytics — See which resources browsers are blocking and why
  • Weekly Automated Scans — Automatic security audit with scan history and trend tracking

Nothing existing moves behind a paywall. Revenue from Shield directly funds free updates and maintenance for all 100,000+ users. org/pro.

Known limitations

  • Automatic duplicate resolution needs a self-check that reaches your site’s PHP over a loopback connection. On some reverse-proxy stacks – notably nginx in front of Apache, which is the default on Plesk and cPanel – the backend selects the virtual host by TLS SNI, so a loopback request answers 421 (Misdirected Request) and the self-check cannot arm. When this happens the plugin does not de-duplicate automatically; it keeps sending every header via PHP (nothing is lost), and the Delivery diagnostics panel says so. If a header ends up duplicated on such a stack, set it to “Server only” under “Advanced: per-header delivery” – that keeps the server’s copy and drops the plugin’s own. A future release will make the loopback self-check pin the request to the backend so it can arm automatically on these stacks too.
  • Content-Security-Policy is always sent via PHP on the front-end only and is never written to.htaccess, so a strict or nonce-based CSP cannot reach wp-admin or be frozen into a cached response.
  • On Nginx and IIS the plugin does not write.htaccess (those servers do not read it). Normal pages are covered via PHP; a server-level cache that serves HTML without invoking PHP needs the equivalent headers added to the server or CDN config. WP Rocket’s cache is served by an early advanced-cache.php drop-in that runs before plugins load; we have modelled this but not verified coverage on a live WP Rocket site, so check its cached responses and add a server or CDN rule if a header is missing.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • headers security
  • clickjacking
  • csp
  • hsts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 4.7 · PHP 7.4
Update activity30 Oct 20262d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version5.3.55.3.6
WordPress compatibility7.0.47.0.8
Version5.3.45.3.5
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.