FOX – Currency Switcher Professional for WooCommerce <= 1.5.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'data-woocs-sd' HTML Attributes
- ID
- WPSEC-2026-4326
- Plugin
- FOX – Currency Switcher Professional for WooCommerce (woocommerce-currency-switcher)
- Affected
- all versions before 1.5.8
- Remediation
- Update to 1.5.8 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-01
- Attack surface
- FOX – Currency Switcher Professional for WooCommerce on WPSec AttackSurface
- Fix released
- Published
Description
The FOX – Currency Switcher Professional for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Smart Designer currency switcher (data-woocs-sd and data-woocs-sd-currencies HTML attributes) in all versions up to, and including, 1.5.7, due to the switcher script trusting design and currency data read from any matching element on the page and inserting the label, title, text and image values into innerHTML without escaping, and copying arbitrary title attributes onto the option element. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages. To do so they add an element carrying these data attributes, plus the [woocs sd=...] shortcode that loads the script, to a post. The scripts execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-4326/
- https://plugins.svn.wordpress.org/woocommerce-currency-switcher/tags/1.5.8/
- https://wordpress.org/plugins/woocommerce-currency-switcher/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS