CVE-2026-4001
CRITICALDescription
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}).
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 49% of all known CVEs.
References
Related Vulnerabilities
Other CWE-95 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-24893 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2024-36401 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2026-33017 | Critical | 9.8 | 98% | KEV | Fix |
| CVE-2024-21650 | Critical | 10.0 | 93% | - | - |
| CVE-2023-37462 | Critical | 9.9 | 91% | - | Fix |
| CVE-2024-7954 | Critical | 9.8 | 90% | - | Fix |
Embed a live status badge for CVE-2026-4001
Markdown
[](https://tridentstack.com/cve/CVE-2026-4001)HTML
<a href="https://tridentstack.com/cve/CVE-2026-4001"><img src="https://tridentstack.com/cve/badge/CVE-2026-4001.svg" alt="CVE-2026-4001"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-24.