Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.2
Product Addons for Woocommerce Plugin Allows Unrestricted Code Execution
CVE-2026-2296
Summary
The Product Addons for Woocommerce plugin for WordPress allows attackers with Shop Manager access to inject and run malicious code on the server. This can lead to unauthorized changes to the website or data theft. To fix, update the plugin to version 3.1.1 or later.
Original title
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...
Original 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.
nvd CVSS3.1
7.2
Vulnerability type
CWE-94
Code Injection
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/tags/3.0.19...
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/tags/3.0.19...
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/trunk/inclu...
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/trunk/inclu...
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old...
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b3c1edd7-2421-4dfa-877...
Published: 18 Feb 2026 · Updated: 11 Mar 2026 · First seen: 6 Mar 2026