Description
The Tax Switch for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class-name’ parameter in all versions up to, and including, 1.4.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-04-22
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (authenticated Contributor+)
Action: Apply Patch
AI Analysis

Impact

The Tax Switch for WooCommerce plugin stores user‐supplied code in the database through the class‑name parameter without proper sanitization or escaping, allowing an authenticated attacker with at least Contributor rights to inject arbitrary JavaScript. Once injected, the code executes in the browser context of any user who visits the affected page, enabling attempts at session hijacking, cookie theft, defacement, or phishing. The vulnerability is a classic Cross‑Site Scripting flaw (CWE‑79).

Affected Systems

The affected product is the Tax Switch for WooCommerce WordPress plugin by wijnbergdevelopments. All releases up to and including version 1.4.2 are vulnerable; newer versions claim the issue is resolved.

Risk and Exploitability

The CVSS base score of 6.4 indicates moderate severity, while the EPSS score of less than 1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Likely exploitation requires a legitimate WordPress login with at least Contributor privileges and access to the plugin’s class‑name configuration. If an attacker can modify the parameter, they can persist malicious scripts that trigger for any site visitor.

Generated by OpenCVE AI on April 20, 2026 at 23:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest plugin update (version 1.4.3 or newer) to eliminate the stored XSS flaw.
  • If a patch is not immediately available, temporarily disable or uninstall the Tax Switch plugin to prevent exploitation.
  • Restrict Contributor roles to only the minimum permissions required and monitor account activity for unauthorized changes.

Generated by OpenCVE AI on April 20, 2026 at 23:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-12328 The Tax Switch for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class-name’ parameter in all versions up to, and including, 1.4.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Tue, 22 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 22 Apr 2025 05:30:00 +0000

Type Values Removed Values Added
Description The Tax Switch for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class-name’ parameter in all versions up to, and including, 1.4.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Tax Switch for WooCommerce <= 1.4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via class-name Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:29:14.948Z

Reserved: 2025-04-18T20:43:20.759Z

Link: CVE-2025-3814

cve-icon Vulnrichment

Updated: 2025-04-22T18:58:43.998Z

cve-icon NVD

Status : Deferred

Published: 2025-04-22T06:15:45.210

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-3814

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T23:15:06Z

Weaknesses