Content Security Policy Manager Security & Risk Analysis

wordpress.org/plugins/csp-manager

Plugin for configuring Content Security Policy headers for your site. Allows different CSP headers for admin, logged inn frontend and regular visitors

2K active installs v1.2.1 PHP 7.2+ WP 4.6+ Updated Aug 9, 2022
content-security-policycspsecuritysecurity-headersxss
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Content Security Policy Manager Safe to Use in 2026?

Generally Safe

Score 85/100

Content Security Policy Manager has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The 'csp-manager' v1.2.1 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of any identified attack surface points, such as AJAX handlers, REST API routes, shortcodes, or cron events, significantly reduces the plugin's exposure to external manipulation. Furthermore, the analysis indicates no dangerous functions are used, and all SQL queries, though none are present, would have been protected by prepared statements. The lack of file operations and external HTTP requests also contributes positively to its security.

However, a notable concern arises from the low percentage (26%) of properly escaped output. With 19 total outputs, a significant portion could be vulnerable to Cross-Site Scripting (XSS) attacks if the unescaped data originates from user input or other untrusted sources. The absence of nonce checks and capability checks, while not directly indicative of a vulnerability without exposed entry points, represents a missed opportunity for defense-in-depth. The plugin's vulnerability history is clean, with no recorded CVEs, which is a positive indicator, suggesting a history of secure development. Despite the clean history, the unescaped output remains the most critical point of concern from the static analysis.

In conclusion, the plugin demonstrates good security practices by minimizing its attack surface and adhering to safe SQL practices. The primary weakness lies in the insufficient output escaping, which warrants attention. The lack of any historical vulnerabilities is commendable. Developers should prioritize addressing the output escaping issue to further harden the plugin.

Key Concerns

  • Low output escaping percentage
Vulnerabilities
None known

Content Security Policy Manager Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Content Security Policy Manager Release Timeline

v1.2.1Current
v1.2.0
v1.1.0
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Content Security Policy Manager Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
14
5 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

26% escaped19 total outputs
Attack Surface

Content Security Policy Manager Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actioninitsrc\CSP_Manager\Core.php:33
actionadmin_initsrc\CSP_Manager\Settings.php:211
actionadmin_menusrc\CSP_Manager\Settings.php:212
actionadmin_enqueue_scriptssrc\CSP_Manager\Settings.php:213
Maintenance & Trust

Content Security Policy Manager Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedAug 9, 2022
PHP min version7.2
Downloads34K

Community Trust

Rating86/100
Number of ratings6
Active installs2K
Developer Profile

Content Security Policy Manager Developer Profile

Patrick Sletvold

2 plugins · 3K total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Content Security Policy Manager

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/csp-manager/assets/css/admin.css/wp-content/plugins/csp-manager/assets/js/admin.js
Script Paths
/wp-content/plugins/csp-manager/assets/js/admin.js
Version Parameters
csp-manager/assets/css/admin.css?ver=csp-manager/assets/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
csp-manager-settingscsp-manager-notice
HTML Comments
CSP Manager - Enable or disable policies for logged in users or for regular users.CSP Manager - Enable or disable policies for regular users.CSP Manager - Enable or disable policies for logged in users.
Data Attributes
data-csp-manager-optiondata-csp-manager-directive
JS Globals
csp_manager_admin
FAQ

Frequently Asked Questions about Content Security Policy Manager