Unauthenticated code execution via custom pricing formula
Published Mar 23, 2026 · Updated Mar 23, 2026
Eval injection in Acowebs WooCommerce Custom Product Addons Pro 5.4.1 and earlier allows remote attackers to execute arbitrary server-side code. The process_custom_formula() function in includes/process/price.php passes a text-field value into PHP eval() after sanitize_values() removes HTML tags but leaves single quotes and PHP directives intact. Exploitation is unauthenticated but requires a public WCPA text field configured for custom pricing with {this.value}; successful injection runs code with the WordPress server process privileges.
Summary
What happened
Eval injection in Acowebs WooCommerce Custom Product Addons Pro 5.4.1 and earlier allows remote attackers to execute arbitrary server-side code. The process_custom_formula() function in includes/process/price.php passes a text-field value into PHP eval() after sanitize_values() removes HTML tags but leaves single quotes and PHP directives intact. Exploitation is unauthenticated but requires a public WCPA text field configured for custom pricing with {this.value}; successful injection runs code with the WordPress server process privileges.
The record
- CVE
- CVE-2026-4001
- Published
- Mar 23, 2026
- Updated
- Mar 23, 2026
- Vendor
- Acowebs
- Product
- WooCommerce Custom Product Addons Pro
- Classifications
- CWE-95, CAPEC-35, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 23, 2026CVE publishedPublication date reported by the CVE source.
- Mar 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=* <=5.4.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo