CVE-2026-2296
The Product Addons for Woocommerce – Product Options with Custom …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/woo-custom-product-addons/tags/3.0.19/includes/process/
- plugins.trac.wordpress.org/browser/woo-custom-product-addons/tags/3.0.19/includes/process/
- plugins.trac.wordpress.org/browser/woo-custom-product-addons/trunk/includes/process/condit
- plugins.trac.wordpress.org/browser/woo-custom-product-addons/trunk/includes/process/condit
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3458823%40woo-cus
- www.wordfence.com/threat-intel/vulnerabilities/id/b3c1edd7-2421-4dfa-8775-ca0497759d52?sou
- nvd.nist.gov/vuln/detail/CVE-2026-2296
- cve.org/CVERecord?id=CVE-2026-2296
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.