CVE-2025-23820

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in Content Security Policy Pro WordPress plugin allows attackers to trick authenticated administrators into performing unintended actions. It affects all versions up to 1.3.5, potentially leading to stored XSS attacks. WordPress site administrators using this plugin are at risk.

💻 Affected Systems

Products:
  • Content Security Policy Pro WordPress Plugin
Versions: n/a through 1.3.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires attacker to trick authenticated admin user into visiting malicious page while logged into WordPress.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could inject malicious scripts that execute in visitors' browsers, leading to credential theft, session hijacking, or malware distribution.

🟠

Likely Case

Attackers create fake admin pages that trick logged-in administrators into changing plugin settings to allow malicious scripts.

🟢

If Mitigated

With proper CSRF tokens and same-origin policies, the attack fails as requests lack proper authentication.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires social engineering to trick authenticated admin users.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.3.6 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/content-security-policy-pro/vulnerability/wordpress-content-security-policy-pro-plugin-1-3-5-csrf-to-stored-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Content Security Policy Pro'. 4. Click 'Update Now' if available. 5. Alternatively, download version 1.3.6+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

WordPress

Disable the vulnerable plugin until patched version is available.

wp plugin deactivate content-security-policy-pro

🧯 If You Can't Patch

  • Implement strict CSP headers at web server level to mitigate XSS impact.
  • Use browser extensions that block CSRF attempts for admin users.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Content Security Policy Pro > Version. If version is 1.3.5 or earlier, you are vulnerable.

Check Version:

wp plugin get content-security-policy-pro --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.3.6 or higher in WordPress admin plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Multiple POST requests to wp-admin/admin-ajax.php from same IP with different referers
  • Unexpected changes to CSP settings in plugin configuration

Network Indicators:

  • HTTP requests with mismatched Origin/Referer headers targeting plugin admin endpoints

SIEM Query:

source="wordpress.log" AND (uri_path="/wp-admin/admin-ajax.php" OR uri_path="/wp-admin/admin-post.php") AND http_method="POST" AND referer NOT CONTAINS yourdomain.com

🔗 References

📤 Share & Export