RCE in Acowebs Woocommerce Custom Product Addons Pro
CVE-2026-4001
The Woocommerce Custom Product Addons Pro plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 5.4.1 via the custom pricing formula eval() in the process_custom_formula() function within includes/process/price.php. This is due to insufficient sanitization and validation of user-submitted field values before passing them to PHP's eval() function. The sanitize_values() method strips HTML tags but does not escape single quotes or prevent PHP code injection. This makes it possible for unauthenticated attackers to execute arbitrary code on the server by submitting a crafted value to a WCPA text field configured with custom pricing formula (pricingType: "custom" with {this.value}).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 60.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Acowebs Woocommerce Custom Product Addons Pro — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- htrxuan/hdwebmobile-formula-pricing (last pushed 2026-11-15): WooCommerce plugin: safe formula-based product pricing, closing CVE-2026-4001's eval()-based RCE
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.