CVE-2026-97345
Description
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.
Affected WordPress components
-
SumUp Payment Gateway For WooCommerce Plugin · sumup-payment-gateway-for-woocommerceUp to and including 2.17.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- sumup SumUp Payment Gateway For WooCommerce — Up to and including 2.17.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L1794
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L1877
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L244
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&old=3780722%40sumup-payment-gateway-for-woocommerce&new=3780722%40sumup-payment-gateway-for-woocommerce
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/1e3f44f6-9626-47e8-9b16-5e153f4887ca?source=cve
- nvd.nist.gov Official NVD record