WordPress Plugin Vulnerabilities

Product Addons for Woocommerce – Product Options with Custom Fields < 3.1.1 - Authenticated (Shop Manager+) Code Injection via Conditional Logic 'operator' Parameter

Description

The Product Addons for Woocommerce – Product Options with Custom Fields plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 3.1.0. This is due to insufficient input validation of the 'operator' field in conditional logic rules within the evalConditions() function, which passes unsanitized user input directly to PHP's eval() function. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to inject and execute arbitrary PHP code on the server via the conditional logic 'operator' parameter when saving addon form field rules.

Affects Plugins

References

Classification

Type
RCE
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Phap Nguyen Anh
Verified
No

Timeline

Publicly Published
2026-02-17 (about 4 months ago)
Added
2026-02-17 (about 4 months ago)
Last Updated
2026-02-18 (about 4 months ago)

Other