Vulnerability in SumUp Payment Gateway For WooCommerce — CVE-2026-97345
What to do now
Update SumUp Payment Gateway For WooCommerce to 2.18.0 or later.
Affected versions
- Everything up to and including 2.17.1
Affected: SumUp Payment Gateway For WooCommerce (plugin, sumup-payment-gateway-for-woocommerce)
What the vulnerability is
The SumUp Payment Gateway For WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 2.17.1 via the 'sumup-validate-order' query parameter handled by the check_redirect_flow() / resolve_payment_redirect_validation() functions. The template_redirect handler accepts an arbitrary numeric order ID from an unauthenticated GET request and, without any ownership or capability check, loads the corresponding WooCommerce order and issues a 302 redirect whose Location header is built by get_return_url(), disclosing the target order's secret order_key. This makes it possible for unauthenticated attackers to enumerate order IDs, harvest each order's WooCommerce order_key, and use those keys against the plugin's create_checkout endpoint and WooCommerce's own order-received/order-pay pages to read customer PII (name, email, phone, billing address, order total) for any order in the store.
Sources
- https://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L1794
- https://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L1877
- https://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L244
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3780722%40sumup-payment-gateway-for-woocommerce&new=3780722%40sumup-payment-gateway-for-woocommerce
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1e3f44f6-9626-47e8-9b16-5e153f4887ca?source=cve