Vulnerability Report
Plugin Critical Patch path listed CVE-2026-4001

Woocommerce Custom Product Addons Pro <= 5.4.1 - Unauthenticated Remote Code Execution via Custom Pricing Formula

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}).

Quick Answer

CVE-2026-4001 is a critical severity with CVSS 9.8 Remote Code Execution issue affecting the Plugin Woocommerce Custom Product Addons Pro. It affects Versions up to 5.4.1 and is fixed in 5.4.2.

Published
Mar 23, 2026
Last Updated
Mar 23, 2026
Slug
woo-custom-product-addons-pro
Continue Triage

Review the full Woocommerce Custom Product Addons Pro vulnerability cluster

Use the related hub and response guides to connect this CVE-2026-4001 report with patch validation, scanner checks, and site hardening work.

Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 5.4.2, or a newer patched version
Operator Briefing

CVE-2026-4001 is tracked for the Plugin Woocommerce Custom Product Addons Pro as critical severity with CVSS 9.8. The affected range is Versions up to 5.4.1. Update Woocommerce Custom Product Addons Pro to 5.4.2 or newer where that version is compatible with the site.

Issue Type
Remote Code Execution
Primary Fixed Version
5.4.2
Primary Affected Range
Versions up to 5.4.1
Tracking ID
CVE-2026-4001
Indexing Quality Signals

Why this report is useful for search and triage

Search engines and operators need more than a title. This page exposes the identifier, affected range, patch evidence, and source coverage that make the vulnerability actionable.

Robots
Indexable
Identifier strength
CVE-2026-4001

This report has a CVE identifier, which makes it suitable for focused search and vulnerability triage workflows.

Version evidence
Versions up to 5.4.1

Affected version data gives operators a concrete comparison point against installed WordPress software.

Patch evidence
5.4.2

A fixed version is present, so the page can answer update and remediation intent directly.

Source coverage
1 reference

External references are available for source validation, advisory review, and incident notes.

Verification Checklist

How to validate this finding

Use these checks when converting this record into a patch ticket, incident note, or risk acceptance decision.

Step 1

Inventory the installed Plugin package and compare its version with Versions up to 5.4.1.

Step 2

Confirm Woocommerce Custom Product Addons Pro is updated to 5.4.2 or newer.

Step 3

Review references and CVSS vector details for exploitability, authentication requirements, and exposure path.

Step 4

After patching, re-run vulnerability monitoring and keep the related plugin or theme hub under review for follow-up CVEs.

Detailed Metadata
Software Type Plugin
Software Slug
woo-custom-product-addons-pro View on wordpress.org
CVE CVE-2026-4001
Patched Versions
5.4.2
Affected Versions
Versions up to 5.4.1
Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more