# PiWeb Disable payment method / Partial payment for WooCommerce <= 1.1.10.12 - Unauthenticated Payment Bypass via 'pi-cod-deposit' Parameter

- **ID:** WPSEC-2026-3550
- **Plugin:** PiWeb Disable payment method / Partial payment for WooCommerce (`disable-payment-method-for-woocommerce`), https://wordpress.org/plugins/disable-payment-method-for-woocommerce/
- **Affected versions:** all versions before 1.1.10.13
- **Fixed in:** 1.1.10.13 (Update to 1.1.10.13 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 Low, affected versions Low (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/disable-payment-method-for-woocommerce
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3550/

## Description

The PiWeb Disable payment method / Partial payment for WooCommerce plugin for WordPress is vulnerable to a payment bypass via the 'pi-cod-deposit' checkout parameter in all versions up to, and including, 1.1.10.12. This is due to the partialPaymentSelected() function accepting the parameter without checking whether the store has enabled partial payment, while the plugin's woocommerce_cart_get_total filter then replaces the cart total with the session's deposit amount, which is never calculated when partial payment is disabled. This makes it possible for unauthenticated attackers, such as guest shoppers, to place orders with a zero or reduced total on stores that have partial payment turned off. WooCommerce can then mark these orders as not needing payment.

## References

- https://wpsec.com/vuln/WPSEC-2026-3550/
- https://plugins.svn.wordpress.org/disable-payment-method-for-woocommerce/tags/1.1.10.13/
- https://wordpress.org/plugins/disable-payment-method-for-woocommerce/

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

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.
