CVE-2025-68887

7.1 HIGH

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the WP-BusinessDirectory WordPress plugin. When users visit a specially crafted URL, the script executes in their browser, potentially stealing session cookies or performing unauthorized actions. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • CMSJunkie WP-BusinessDirectory WordPress Plugin
Versions: n/a through <= 3.1.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable plugin versions 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 session cookies, take over WordPress sites, deface websites, or redirect users to malicious sites.

🟠

Likely Case

Attackers steal user session cookies or credentials through phishing links, potentially compromising individual user accounts.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users' browsers.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Reflected XSS vulnerabilities are commonly exploited through phishing campaigns and require minimal technical skill.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: > 3.1.5

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/wp-businessdirectory/vulnerability/wordpress-wp-businessdirectory-plugin-3-1-3-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-BusinessDirectory. 4. Click 'Update Now' if available. 5. If no update appears, manually download latest version from WordPress.org. 6. Deactivate and delete old version. 7. Upload and activate new version.

🔧 Temporary Workarounds

Web Application Firewall (WAF)

all

Deploy a WAF with XSS protection rules to filter malicious requests before they reach the application.

Content Security Policy (CSP)

all

Implement CSP headers to restrict script execution sources and mitigate XSS impact.

Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "SAMEORIGIN"

🧯 If You Can't Patch

  • Disable or remove the WP-BusinessDirectory plugin immediately.
  • Implement strict input validation and output encoding in custom code that interacts with the plugin.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP-BusinessDirectory version <= 3.1.5.

Check Version:

wp plugin list --name=wp-businessdirectory --field=version

Verify Fix Applied:

Confirm plugin version is > 3.1.5 in WordPress admin panel and test vulnerable endpoints with XSS payloads.

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests containing script tags or JavaScript code to plugin endpoints
  • Multiple failed login attempts following suspicious URL visits

Network Indicators:

  • HTTP requests with encoded script payloads in query parameters
  • Outbound connections to suspicious domains after visiting plugin pages

SIEM Query:

source="web_server" AND (uri="*wp-businessdirectory*" AND (query="*<script>*" OR query="*javascript:*" OR query="*onload=*"))

🔗 References

📤 Share & Export