Dynamic Pricing With Discount Rules for WooCommerce <= 5.1.0 - Authenticated (Shop Manager+) PHP Object Injection via Rule Duplication

Medium 6.6 CWE-502Fixed in 5.1.1
ID
WPSEC-2026-2482
Plugin
Dynamic Pricing With Discount Rules for WooCommerce (aco-woo-dynamic-pricing)
Affected
all versions before 5.1.1
Remediation
Update to 5.1.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-04
Attack surface
Dynamic Pricing With Discount Rules for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The Dynamic Pricing With Discount Rules for WooCommerce plugin for WordPress is vulnerable to PHP Object Injection via the rule duplication REST handler in all versions up to, and including, 5.1.0, due to unserialization of the copied rule's post meta values without restricting the allowed classes. One of these values, custom_product_list, is stored exactly as sent in the rule save handler's customPL parameter. This makes it possible for authenticated attackers with Shop Manager-level access and above to inject a PHP object. No known POP chain is present in the vulnerable software. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0