# YITH WooCommerce Product Add-Ons <= 4.35.1 - Unauthenticated Arbitrary Product Stock Reduction via Add-on Product Values

- **ID:** WPSEC-2026-3357
- **Plugin:** YITH WooCommerce Product Add-Ons (`yith-woocommerce-product-add-ons`), https://wordpress.org/plugins/yith-woocommerce-product-add-ons/
- **Affected versions:** all versions before 4.35.2
- **Fixed in:** 4.35.2 (Update to 4.35.2 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-639
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/yith-woocommerce-product-add-ons
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3357/

## Description

The YITH WooCommerce Product Add-Ons plugin for WordPress is vulnerable to unauthorized stock modification via 'product-<id>' add-on values in all versions up to, and including, 4.35.1. This is due to the plugin taking the product ID from the add-on selections the customer submits, which are stored in the order item unchanged, and passing it to wc_update_product_stock() when order stock is reduced. It never checks that the ID matches a 'product' type add-on configured for the ordered product. This makes it possible for unauthenticated attackers who can place an order, including through guest checkout, to reduce the stock of arbitrary products in the store, which can mark them as out of stock.

## References

- https://wpsec.com/vuln/WPSEC-2026-3357/
- https://plugins.svn.wordpress.org/yith-woocommerce-product-add-ons/tags/4.35.2/
- https://wordpress.org/plugins/yith-woocommerce-product-add-ons/

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

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.
