{"id":"CVE-2026-4001","published":"2026-03-23T23:25:48Z","modified":"2026-04-08T17:00:23Z","title":"Woocommerce Custom Product Addons Pro <= 5.4.1 - Unauthenticated Remote Code Execution via Custom Pricing Formula","vendor":"acowebs","product":"Woocommerce Custom Product Addons Pro","tier":"core","eol":null,"affectedVersions":[{"vendor":"acowebs","product":"Woocommerce Custom Product Addons Pro","versions":["<= 5.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-24T13:37:42.756099Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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}).","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T22:21:43Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0096,"percentile":0.62365,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-03-24","exploitedFirstSeen":"2026-03-24","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/wordpress/plugin/woo-custom-product-addons-pro/vulnerability/wordpress-woocommerce-custom-product-addons-pro-plugin-5-4-1-unauthenticated-remote-code-execution-via-custom-pricing-formula-vulnerability","date":"2026-03-24"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":6,"pulses":[{"name":"Known_Cve | Apr 1, 2026","url":"https://otx.alienvault.com/pulse/69cbd0525d7d354a36262e7c","created":"2026-03-31"},{"name":"Known_Cve | Mar 31, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69ca8513b66a6dde3b8bc51d","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69ca0da448c55195dd70b3f3","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c932bb80fc9fc5fdb58718","created":"2026-03-29"},{"name":"Known_Cve | Mar 28, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/69c692714d541ca5a6493eb8","created":"2026-03-27"},{"name":"Known_Cve | Mar 25, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c2a5852b497ad2dfee0e56","created":"2026-03-24"}],"provenance":"machine"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/70a2b6ff-defc-4722-9af9-3cae94e98632?source=cve","tags":[]},{"url":"https://acowebs.com/woo-custom-product-addons/","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-14652","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-14652","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-29","earliestUrl":"https://github.com/htrxuan/hdwebmobile-formula-pricing","repos":[{"name":"htrxuan/hdwebmobile-formula-pricing","url":"https://github.com/htrxuan/hdwebmobile-formula-pricing","stars":0,"created":"2026-08-29"}]},"first":{"date":"2026-08-29","source":"PoC-in-GitHub","url":"https://github.com/htrxuan/hdwebmobile-formula-pricing"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-03-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-4001","provenance":"source"},{"date":"2026-03-24","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/wordpress/plugin/woo-custom-product-addons-pro/vulnerability/wordpress-woocommerce-custom-product-addons-pro-plugin-5-4-1-unauthenticated-remote-code-execution-via-custom-pricing-formula-vulnerability","provenance":"source"},{"date":"2026-08-29","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/htrxuan/hdwebmobile-formula-pricing","provenance":"source"}],"speed":{"daysToPublicExploit":159,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":66.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 242 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":12.47,"detail":"percentile 0.6237"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":1.92,"detail":"6 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}