CVE-2026-2296 Code injection in Product Addons for Woocommerce – Product Options with Custom Fields

High 7.2 Published Updated

Authenticated Shop Managers can execute arbitrary PHP code via unsanitized input in the conditional logic operator parameter.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2296?

CVE-2026-2296 is a high-severity code injection vulnerability in acowebs Product Addons for Woocommerce – Product Options with Custom Fields, published on 18 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-2296?

How do I fix CVE-2026-2296?

No fix has been published for CVE-2026-2296 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-2296 being exploited?

There is no known exploitation of CVE-2026-2296 in the wild and no public exploit code.

Sources

Also known as GHSA-p572-g32f-hp32.

Is CVE-2026-2296 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free