What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Tax Switch for WooCommerce versions 1.4.2 and earlier contain a cross-site scripting vulnerability. An attacker with low-level site access can inject malicious scripts that execute in other users' browsers, potentially stealing session tokens or performing actions on their behalf. The vulnerability affects the entire site scope due to how the flaw propagates.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers and steal their session data or perform actions as them.
Potential impact on your site
04Site Impact
Attackers with basic site access can compromise other users' accounts and sessions without requiring user interaction.
Conditions required to exploit
05Prerequisites
Attacker needs a low-privilege account (e.g., subscriber or contributor role) on the WooCommerce site.
Key dates
06Disclosure timeline
April 22, 2025
CVE published
April 8, 2026
Record updated