What the vulnerability does
01Description
The Currency Switcher for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in all versions up to, and including, 2.16.2. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Explanation of Vulnerability in Simple Terms
02Summary
Currency Switcher for WooCommerce versions up to 2.16.2 contain a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in visitors' browsers when they interact with the plugin's functionality. The vulnerability requires user interaction and can affect multiple users across the site. Update to a version newer than 2.16.2 to resolve this issue.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in visitors' browsers and steal session data or perform actions on their behalf.
Potential impact on your site
04Site Impact
Visitors' browsers can be compromised, leading to credential theft, malware distribution, or unauthorized transactions.
Conditions required to exploit
05Prerequisites
Visitor must interact with an affected page or feature; no authentication required to craft the attack.
Key dates
06Disclosure timeline
March 1, 2025
CVE published
April 8, 2026
Record updated