WOOCS <= - Reflected Cross-Site Scripting via AJAX action

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-0234
CVSS 6.1 (Medium)
Publicly Published January 19, 2022
Last Updated January 22, 2024
Researcher Krzysztof Zając - CERT PL


The WOOCS WordPress plugin before does not sanitise and escape the woocs_in_order_currency parameter of the woocs_get_products_price_html AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response, leading to a Reflected Cross-Site Scripting



Vulnerability Details for FOX – Currency Switcher Professional for WooCommerce

Software Type Plugin
Software Slug woocommerce-currency-switcher (view on wordpress.org)
Patched? Yes
Remediation Update to version, or a newer patched version
Affected Version
  • <=
Patched Version

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.