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

7.2
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-2296
CVSS 7.2 (High)
Publicly Published February 17, 2026
Last Updated February 18, 2026
Researcher Phap Nguyen Anh

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.

References

Share

Vulnerability Details for Product Addons for Woocommerce – Product Options with Custom Fields

Software Type Plugin
Software Slug woo-custom-product-addons (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1.1, or a newer patched version
Affected Version
  • <= 3.1.0
Patched Version
  • 3.1.1

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation