# Advanced Dynamic Pricing for WooCommerce <= 5.0.0 - Cross-Site Request Forgery to Bulk Rule Actions

- **ID:** WPSEC-2026-4358
- **Plugin:** Advanced Dynamic Pricing and Discount Rules for WooCommerce (`advanced-dynamic-pricing-for-woocommerce`), https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/
- **Affected versions:** from 4.1.0 before 5.0.1
- **Fixed in:** 5.0.1 (Update to 5.0.1 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-02)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/advanced-dynamic-pricing-for-woocommerce
- **Fix released:** 2026-12-01
- **Published:** 2026-12-02
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4358/

## Description

The Advanced Dynamic Pricing and Discount Rules for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery via the Rules tab bulk actions in all versions up to, and including, 5.0.0, due to missing or incorrect nonce validation in the handleSubmitAction() function, which checked the nonce only when the nonce parameter was sent with the request. This makes it possible for unauthenticated attackers to enable, disable or delete pricing rules in bulk via a forged request granted they can trick a site administrator or shop manager into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4358/
- https://plugins.svn.wordpress.org/advanced-dynamic-pricing-for-woocommerce/tags/5.0.1/
- https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/

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

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.
