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)
- Affected
- all versions before 4.4.0
- Remediation
- Update to 4.4.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-840
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-25
- Attack surface
- Price Based on Country for WooCommerce on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS