Woocommerce Custom Product Addons Pro <= 5.4.1 - Unauthenticated Remote Code Execution via Custom Pricing Formula
No fixed version listed yet.Check the vendor advisory. References ↓
acowebs · Woocommerce Custom Product Addons Pro
The Woocommerce Custom Product Addons Pro plugin for WordPress, in all versions up to and including 5.4.1, passes user-submitted field values to PHP's eval() within the process_custom_formula() function in includes/process/price.php, because sanitize_values() strips HTML tags but neither escapes single quotes nor prevents PHP code injection. An unauthenticated attacker with network access can exploit this by submitting a crafted value to a WCPA text field configured with a custom pricing formula (pricingType "custom" using {this.value}) to execute arbitrary code on the server.
Official description · CVE.org
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}).
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 1 day after disclosure. Public exploit code (PoC-in-GitHub) appeared 5 months after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+1 day
- Public exploit codePoC-in-GitHub+5 mo
Affected versions and fixes
as published in the CVE recordacowebs Woocommerce Custom Product Addons Pro
Affected: <= 5.4.1
What security researchers reported
Not named in any threat report yetAlso mentioned in 6 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Apr 1, 202631 Mar 2026
- Known_Cve | Mar 31, 2026 | Part 1/230 Mar 2026
- Known_Cve | Mar 30, 2026 | Part 1/230 Mar 2026
- Known_Cve | Mar 30, 2026 | Part 1/229 Mar 2026
- Known_Cve | Mar 28, 2026 | Part 1/327 Mar 2026
- Known_Cve | Mar 25, 2026 | Part 1/224 Mar 2026