CVE-2025-3814

6.4 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the Tax Switch for WooCommerce WordPress plugin allows authenticated attackers with Contributor-level access or higher to inject malicious scripts into web pages. The scripts execute whenever users view the compromised pages, potentially stealing credentials or performing unauthorized actions. All WordPress sites using this plugin up to version 1.4.2 are affected.

💻 Affected Systems

Products:
  • Tax Switch for WooCommerce WordPress plugin
Versions: All versions up to and including 1.4.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce installed and the vulnerable plugin enabled. Contributor-level authentication is required for exploitation.

⚠️ 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, install backdoors, or redirect users to malicious sites, potentially leading to complete site compromise and data theft.

🟠

Likely Case

Attackers with contributor access inject malicious scripts to steal session cookies or credentials from users viewing affected pages, potentially gaining higher privileges or accessing sensitive data.

🟢

If Mitigated

With proper input validation and output escaping, the vulnerability is prevented, and even if exploited, web application firewalls and content security policies could block malicious script execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access at Contributor level or higher. The vulnerability is straightforward to exploit once authenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.4.3 or later

Vendor Advisory: https://wordpress.org/plugins/tax-switch-for-woocommerce/#developers

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Tax Switch for WooCommerce'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 1.4.3+ from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Tax Switch for WooCommerce plugin until patched

wp plugin deactivate tax-switch-for-woocommerce

Implement WAF rules

all

Configure web application firewall to block XSS payloads targeting the 'class-name' parameter

🧯 If You Can't Patch

  • Remove Contributor role access for untrusted users
  • Implement Content Security Policy headers to restrict script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Tax Switch for WooCommerce version. If version is 1.4.2 or lower, you are vulnerable.

Check Version:

wp plugin get tax-switch-for-woocommerce --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.4.3 or higher in WordPress admin plugins page.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php with 'class-name' parameter containing script tags
  • Multiple failed login attempts followed by successful contributor-level login

Network Indicators:

  • HTTP requests containing malicious script payloads in 'class-name' parameter
  • Outbound connections to suspicious domains after page views

SIEM Query:

source="wordpress.log" AND ("class-name" AND ("<script" OR "javascript:" OR "onerror="))

🔗 References

📤 Share & Export