# Price Based on Country for WooCommerce <= 4.3.6 - Unauthenticated Price Manipulation via WooCommerce Store API Checkout

- **ID:** WPSEC-2026-3856
- **Plugin:** Price Based on Country for WooCommerce (`woocommerce-product-price-based-on-countries`), https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/
- **Affected versions:** all versions before 4.4.0
- **Fixed in:** 4.4.0 (Update to 4.4.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-840
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/woocommerce-product-price-based-on-countries
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3856/

## Description

The Price Based on Country for WooCommerce plugin for WordPress is vulnerable to pricing zone manipulation via the WooCommerce Store API checkout endpoint in all versions up to, and including, 4.3.6. This is due to the plugin loading the pricing zone from the visitor's session country when a Store API checkout request starts and not re-evaluating it after the billing and shipping address sent in the request is applied. The pricing-zone validation used by the classic checkout also does not run for Store API checkouts. This makes it possible for unauthenticated attackers (where guest checkout is enabled) to place orders priced in a pricing zone (prices and currency) that does not match their billing or shipping country, for example by selecting a lower-priced country in their session and then checking out with a different address.

## References

- https://wpsec.com/vuln/WPSEC-2026-3856/
- https://plugins.svn.wordpress.org/woocommerce-product-price-based-on-countries/tags/4.4.0/
- https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3856/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
