WP Manifestindependent plugin directory
manifest / security / humanity-content-security-policy

Humanity Content Security Policy WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

This plugin allows management of a site's Content Security Policy

★ 1stars
15release downloads
≈10active sites
v1.0.2latest · 7mo ago

Install

Download humanity-content-security-policy.zip From the v1.0.2 release on GitHub, Mar 12, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/amnestywebsite/humanity-content-security-policy/releases/download/v1.0.2/humanity-content-security-policy.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Content Security Policy Management Plugin

This plugin allows website administrators to manage their Content Security Policy via a straightforward settings page (requires CMB2) on either the network level, or individual site level. If the plugin is network activated, the CSP will apply to the whole network; if the plugin is single-site activated, the CSP will apply only to that website.

The plugin does not support the addition of hashes to the CSR, due to the complicated implementation in a WordPress environment.

More detail on Content Security Policies can be found at MDN.

Minimum Requirements

This plugin requires:

  • WordPress 5.8+
  • PHP 8.2+ with the Intl extension

Required Plugins

We currently rely upon CMB2 and CMB2 extensions for settings management, but our eventual goal is to remove these dependencies.
Our full list of dependencies is below:

Import/Export

The plugin allows you to import/export the plugin's options as a JSON file, for ease of migration.

Supported Directives

The following directives are configurable using this plugin.

"Global"

Includes Reporting directives, global flags, and other directives that don't fit into another category. The following directives are supported:

Report URI
Sets the reporting destination of CSP violations. The service Report URI is recommended for this.

Report To
Configuration which enables the Reporting API. This field accepts a JSON object.

NEL
Configuration which enables Network Error Logging using the Reporting API. This field accepts a JSON object.

Report Only
Whether the CSP should be enforced, or should only report on violations. Useful for testing a CSP configuration prior to implementation.

Upgrade Insecure Requests
Instructs browsers to treat all HTTP URIs as HTTPS.

Require Trusted Types
Experimental. Enforces Trusted Types to prevent DOM XSS injection.

Allow GTM/GA
Register Google's Trusted Type for GTM/GA.

Enable Script Nonces
Experimental. Activates the addition of a cryptographic nonce to all `

Releases

3 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.2 latest
Mar 12, 2026 7mo ago
humanity-content-security-policy.zip
5
Mar 26, 2025 1 year ago
humanity-content-security-policy.zip
6
Feb 28, 2024 2 years ago
humanity-content-security-policy.zip
4

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

A grade

Security

Humanity Content Security Policy 1.0.2 · audited by WP Registry

No security issues found.

Audited release
1.0.2
Findings
none
Worst severity
—
Content hash
8171866622e7e100d1771e1b…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.