What’s Vulnerable › Vulnerabilities
CVE-2024-9217: Currency Switcher for WooCommerce <= 2.16.2 - Reflected Cross-Site Scripting
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-01 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- wpwham Currency Switcher for WooCommerce: through 2.16.2
References
- https://plugins.trac.wordpress.org/browser/currency-switcher-woocommerce/trunk/includes/functions/alg-switcher-selector-functions.php#L139
- https://plugins.trac.wordpress.org/changeset/3252003/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3357892e-c047-406b-8914-018ea966e799?source=cve
Get alerted when CVE-2024-9217 or the next vulnerability affects your stack