CVE-2025-62761

6.5 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the BasePress WordPress plugin allows attackers to inject malicious scripts into knowledge base pages. When users view compromised pages, the scripts execute in their browsers, potentially stealing credentials or performing unauthorized actions. All WordPress sites using BasePress versions up to 2.17.0.1 are affected.

💻 Affected Systems

Products:
  • BasePress Knowledge Base documentation & wiki plugin
Versions: n/a through 2.17.0.1
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using vulnerable BasePress 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 credentials, take over the WordPress site, deface content, or redirect users to malicious sites, potentially leading to complete site compromise and data theft.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies or credentials, enabling account takeover and unauthorized content modification.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized, preventing execution while maintaining functionality.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Stored XSS vulnerabilities are commonly exploited, though specific exploit details for this CVE aren't publicly documented.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.17.0.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/basepress/vulnerability/wordpress-knowledge-base-documentation-wiki-plugin-basepress-plugin-2-17-0-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 BasePress and click 'Update Now'. 4. Verify update to version 2.17.0.2 or higher.

🔧 Temporary Workarounds

Disable BasePress Plugin

all

Temporarily disable the vulnerable plugin until patching is possible.

wp plugin deactivate basepress

Implement WAF Rules

all

Configure web application firewall to block XSS payloads targeting BasePress endpoints.

🧯 If You Can't Patch

  • Implement strict Content Security Policy (CSP) headers to restrict script execution
  • Enable WordPress security plugins with XSS protection features

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for BasePress version. If version is 2.17.0.1 or lower, system is vulnerable.

Check Version:

wp plugin get basepress --field=version

Verify Fix Applied:

After updating, verify BasePress version shows 2.17.0.2 or higher in WordPress plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to BasePress endpoints with script tags or JavaScript payloads
  • Multiple failed login attempts following BasePress page views

Network Indicators:

  • Outbound connections to suspicious domains from WordPress server after BasePress page access

SIEM Query:

source="wordpress.log" AND ("basepress" OR "knowledge-base") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export