CVE-2025-46541

5.9 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the WP-reCAPTCHA-bp WordPress plugin allows attackers to inject malicious scripts into web pages that are then executed when other users view those pages. It affects all WordPress sites using WP-reCAPTCHA-bp plugin versions up to 4.1. The vulnerability enables attackers to steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users.

💻 Affected Systems

Products:
  • WP-reCAPTCHA-bp WordPress plugin
Versions: All versions up to and including 4.1
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the vulnerable plugin to be installed and activated on a WordPress site.

⚠️ 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 session cookies, take over WordPress sites, install backdoors, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, redirect users to phishing pages, or perform actions as authenticated users.

🟢

If Mitigated

With proper input validation and output encoding, the XSS payloads would be neutralized before reaching users.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Stored XSS vulnerabilities are commonly exploited and weaponization is likely given the widespread use of WordPress.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 4.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-recaptcha-bp/vulnerability/wordpress-wp-recaptcha-bp-4-1-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP-reCAPTCHA-bp plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 4.2+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the WP-reCAPTCHA-bp plugin until patched version is available

wp plugin deactivate wp-recaptcha-bp

Implement WAF rules

all

Configure web application firewall to block XSS payloads targeting the vulnerable plugin

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution
  • Use WordPress security plugins that include XSS protection features

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP-reCAPTCHA-bp version. If version is 4.1 or lower, you are vulnerable.

Check Version:

wp plugin get wp-recaptcha-bp --field=version

Verify Fix Applied:

After updating, verify WP-reCAPTCHA-bp plugin shows version 4.2 or higher in WordPress admin plugins page.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • JavaScript payloads in request parameters
  • Multiple failed XSS attempts

Network Indicators:

  • HTTP requests containing script tags or JavaScript in parameters
  • Unusual traffic patterns to plugin-specific URLs

SIEM Query:

source="wordpress.log" AND ("wp-recaptcha-bp" OR "recaptcha") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export