CVE-2025-12160

7.2 HIGH

📋 TL;DR

The Simple User Registration plugin for WordPress has a stored cross-site scripting vulnerability in the 'wpr_admin_msg' parameter. Unauthenticated attackers can inject malicious scripts that execute when users view affected pages. All WordPress sites using this plugin up to version 6.6 are vulnerable.

💻 Affected Systems

Products:
  • Simple User Registration WordPress Plugin
Versions: All versions up to and including 6.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with the vulnerable plugin are affected regardless of configuration.

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

🟠

Likely Case

Attackers inject malicious scripts to steal user session cookies, redirect users to phishing sites, or display unwanted content.

🟢

If Mitigated

With proper web application firewalls and content security policies, script execution could be blocked, limiting impact to script injection without execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

The vulnerability is simple to exploit with basic web knowledge. Public proof-of-concept code is available in the WordPress plugin repository changeset.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 6.6

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3396064%40wp-registration&new=3396064%40wp-registration&sfp_email=&sfph_mail=

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Simple User Registration plugin. 4. Click 'Update Now' if available. 5. If no update is available, deactivate and delete the plugin immediately.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Simple User Registration plugin until patched

wp plugin deactivate wp-registration

Implement Content Security Policy

all

Add CSP headers to block inline script execution

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to nginx config: add_header Content-Security-Policy "default-src 'self'; script-src 'self'";

🧯 If You Can't Patch

  • Disable the Simple User Registration plugin immediately
  • Implement a web application firewall with XSS protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for Simple User Registration version 6.6 or earlier

Check Version:

wp plugin get wp-registration --field=version

Verify Fix Applied:

Verify plugin version is higher than 6.6 or plugin is completely removed

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php with wpr_admin_msg parameter containing script tags
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • Outbound connections to suspicious domains from WordPress site
  • Unusual JavaScript payloads in HTTP requests

SIEM Query:

source="web_logs" AND ("wpr_admin_msg" AND ("<script" OR "javascript:" OR "onload=" OR "onerror="))

🔗 References

📤 Share & Export