CVE-2025-62957

8.8 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the NikanWP WooCommerce Reporting plugin allows attackers to perform stored cross-site scripting (XSS) attacks. This affects WordPress sites using the wc-reports-lite plugin version 1.0.0 and earlier. Attackers can trick authenticated administrators into executing malicious actions that inject persistent scripts.

💻 Affected Systems

Products:
  • NikanWP WooCommerce Reporting (wc-reports-lite)
Versions: All versions up to and including 1.0.0
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the vulnerable plugin installed. The plugin must be activated and accessible to authenticated users.

⚠️ 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 inject malicious JavaScript that steals administrator credentials, redirects users to phishing sites, or takes full control of the WordPress site when administrators view infected pages.

🟠

Likely Case

Attackers create fake admin interfaces or forms that trick logged-in administrators into executing actions that inject malicious scripts into the site, potentially compromising user sessions and data.

🟢

If Mitigated

With proper CSRF tokens and input validation, the vulnerability would be prevented as unauthorized requests would be rejected before reaching the XSS injection point.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires tricking an authenticated administrator into clicking a malicious link or visiting a compromised page. The CSRF leads to stored XSS, making this a two-stage attack.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.0.0 (check vendor for specific version)

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/wc-reports-lite/vulnerability/wordpress-nikanwp-woocommerce-reporting-plugin-1-0-0-cross-site-request-forgery-csrf-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins > Installed Plugins
3. Find 'NikanWP WooCommerce Reporting'
4. Check for available updates
5. Update to the latest version
6. Verify the plugin is updated to a version beyond 1.0.0

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the NikanWP WooCommerce Reporting plugin until a patch is available

wp plugin deactivate wc-reports-lite

Implement CSRF protection middleware

all

Add custom WordPress filters to validate nonce tokens for all plugin requests

Add custom PHP code to validate wp_verify_nonce() for plugin endpoints

🧯 If You Can't Patch

  • Remove the NikanWP WooCommerce Reporting plugin completely and use alternative reporting solutions
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'NikanWP WooCommerce Reporting' version 1.0.0 or earlier

Check Version:

wp plugin get wc-reports-lite --field=version

Verify Fix Applied:

Verify the plugin version is greater than 1.0.0 in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php with plugin-specific actions
  • Multiple failed nonce verification attempts for plugin endpoints
  • Unexpected JavaScript injection in plugin-generated content

Network Indicators:

  • CSRF attack patterns with missing or invalid nonce parameters
  • Requests to plugin endpoints without proper referrer headers

SIEM Query:

source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" AND action CONTAINS "nikanwp" OR "wc_reports") AND (http_method="POST" AND NOT nonce_verified="true")

🔗 References

📤 Share & Export