CVE-2026-2296
📋 TL;DR
This vulnerability allows authenticated attackers with Shop Manager or higher WordPress roles to execute arbitrary PHP code on the server. The flaw exists in the Product Addons for Woocommerce plugin where user input is passed directly to PHP's eval() function without proper validation. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Product Addons for Woocommerce – Product Options with Custom Fields WordPress plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Complete server compromise leading to data theft, malware installation, website defacement, or ransomware deployment.
Likely Case
Unauthorized code execution allowing data exfiltration, backdoor installation, or privilege escalation within the WordPress environment.
If Mitigated
Limited impact if proper role-based access controls and input validation are implemented, though the vulnerability still exists.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once credentials are obtained. The vulnerability is in publicly available code.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.1.1 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/woo-custom-product-addons
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Product Addons for Woocommerce'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 3.1.1+ from WordPress plugin repository and manually update.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the plugin until patched version can be installed
wp plugin deactivate woo-custom-product-addons
Restrict user roles
allReview and limit Shop Manager and Administrator roles to trusted users only
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block eval() function calls in POST requests
- Enable strict file integrity monitoring and limit PHP execution capabilities for the plugin directory
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins → Product Addons for Woocommerce version. If version is 3.1.0 or lower, you are vulnerable.
Check Version:
wp plugin get woo-custom-product-addons --field=version
Verify Fix Applied:
After updating, verify plugin version is 3.1.1 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to /wp-admin/admin-ajax.php with 'operator' parameter containing PHP code
- Unexpected PHP eval() calls in web server logs
- New files created in wp-content/plugins/woo-custom-product-addons directory
Network Indicators:
- HTTP POST requests containing PHP code snippets in parameters
- Unusual outbound connections from web server following plugin-related requests
SIEM Query:
source="web_server_logs" AND (uri_path="/wp-admin/admin-ajax.php" AND request_body CONTAINS "eval(" OR request_body CONTAINS "base64_decode(")
🔗 References
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/tags/3.0.19/includes/process/conditional-logic.php#L104
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/tags/3.0.19/includes/process/conditional-logic.php#L84
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/trunk/includes/process/conditional-logic.php#L104
- https://plugins.trac.wordpress.org/browser/woo-custom-product-addons/trunk/includes/process/conditional-logic.php#L84
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3458823%40woo-custom-product-addons&new=3458823%40woo-custom-product-addons&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b3c1edd7-2421-4dfa-8775-ca0497759d52?source=cve