CVE-2025-25072

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in the WP Admin Custom Page WordPress plugin allows attackers to trick authenticated administrators into executing malicious actions, leading to stored cross-site scripting (XSS). Attackers can inject malicious scripts that execute in victims' browsers when they visit compromised admin pages. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress WP Admin Custom Page plugin
Versions: All versions up to and including 1.5.0
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled and an authenticated administrator to trigger the CSRF.

⚠️ 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 gain administrative access, deface websites, steal session cookies, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers inject malicious JavaScript that steals administrator session cookies or redirects users to phishing pages when they visit compromised admin pages.

🟢

If Mitigated

With proper CSRF protections and content security policies, the attack would fail or have limited impact even if attempted.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires social engineering to trick an authenticated administrator into clicking a malicious link while logged in.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.5.0

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-admin-custom-page/vulnerability/wordpress-wp-admin-custom-page-plugin-1-5-0-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 'WP Admin Custom Page' and click 'Update Now' if available. 4. If no update is available, deactivate and delete the plugin immediately.

🔧 Temporary Workarounds

Implement CSRF Protection Headers

WordPress

Add CSRF tokens to all admin form submissions and AJAX requests

Add wp_nonce_field() to forms and check with wp_verify_nonce()

🧯 If You Can't Patch

  • Deactivate and remove the WP Admin Custom Page plugin immediately
  • Implement strict Content Security Policy (CSP) headers to prevent XSS execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP Admin Custom Page version 1.5.0 or earlier

Check Version:

wp plugin list --name='wp-admin-custom-page' --field=version

Verify Fix Applied:

Verify plugin version is greater than 1.5.0 or plugin is completely removed

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-ajax.php with suspicious parameters
  • Administrator accounts performing unexpected plugin modifications

Network Indicators:

  • Outbound connections to suspicious domains from admin sessions
  • Unexpected JavaScript injection in admin page responses

SIEM Query:

source="wordpress.log" AND ("wp-admin-custom-page" OR "admin_custom_page") AND ("POST" OR "update")

🔗 References

📤 Share & Export