Strict CSP icon
Security

Strict CSP

Enforces a Strict Content Security Policy on the frontend and login screen to help mitigate any XSS vulnerabilities.

Developer Weston Ruter
27 Needs attentionmaintenance
  • 19 yearson WordPress.org
  • 30plugins
  • 337,020+installs in total
  • 4.0★avg. rating (493)
  • 17%of plugins updated this year
5/14 badges Profile →

Is Strict CSP safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 3 months ago (version 0.3.2).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.2+.
  • Note: Few reviews so far No ratings on WordPress.org yet.
  • Note: Small user base Active on 60+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 21, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Strict CSP describes itself as: “Enforces a Strict Content Security Policy on the frontend and login screen to help mitigate any XSS vulnerabilities.”

It is active on 60+ WordPress sites.

We haven't published a hands-on review of Strict CSP yet. Want one, or need help with it? Send us a request.

How to install Strict CSP

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Strict CSP” and pick the one by Weston Ruter.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install strict-csp --activate

Requirements: WordPress 6.4+ · PHP 7.2+ · tested up to WordPress 7.1.5

Hooks & customisation

The hooks reference for this plugin is being generated and will appear here shortly.

Strict CSP: frequently asked questions

Is Strict CSP free?

Yes. Strict CSP is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Strict CSP safe to use?

Strict CSP is actively maintained: the latest version was released 3 months ago. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Strict CSP work with WordPress 7.1?

Yes. Strict CSP is tested up to WordPress 7.1, the current release. It requires WordPress 6.4 or later and PHP 7.2 or later.

How many websites use Strict CSP?

Strict CSP is active on 60+ WordPress sites, according to WordPress.org. It is currently at version 0.3.2, last updated on September 9, 2026.

What are the best alternatives to Strict CSP?

Plugins that do a similar job and are actively maintained include Really Simple Security (3+ million installs), Limit Login Attempts Security (1+ million installs), All-In-One Security (AIOS) (1+ million installs).

Can I customise Strict CSP without editing its code?

Strict CSP doesn't expose its own hooks, so changing its behaviour usually means a small companion plugin. Tell us what you need and we'll suggest the safest way.

Done for you

Need Strict CSP to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Strict CSP customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Weston Ruter. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 21, 2026.

More plugins by Weston Ruter

All 30 →
Not updated in 1+ year
AMP icon

AMP

367

An easier path to great Page Experience for everyone. Powered by AMP.

300,000+ installs Updated 2 years ago 105 hooks
Not updated in 1+ year
PWA icon

PWA

27

WordPress feature plugin to bring Progressive Web App (PWA) capabilities to Core

20,000+ installs Updated 2 years ago 31 hooks

Enables back/forward cache (bfcache) for instant history navigations even when “nocache” headers are sent, such as when a user is…

10,000+ installs Updated 2 months ago 3 hooks
Not updated in 8+ years

Allows a user to associate a photo with their account and for this photo to be displayed in their posts…

3,000+ installs Updated 9 years ago

Alternatives in Security

See all →
Reviewed

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for…

5+ million installs Updated 3 months ago 43 hooks

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team. Make security a priority with…

5+ million installs Updated 2 weeks ago 98 hooks

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vulnerability Detection and SSL certificate.

3+ million installs Updated 4 weeks ago 116 hooks

Simplified WordPress management. Manage site info, maintenance, security, & redirects.

3+ million installs Updated 7 days ago 7 hooks