CVE-2026-14900 Details
Description
The Cost Calculator Builder PRO plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.0.3 via the js_to_php function. This is due to insufficient sanitization of the orderDetails[*].originalValue field, which is injected verbatim into a calculator formula string passed to PHP eval() inside js_to_php(), with the regex allow-list in evaluateFormula() only filtering alphanumeric tokens and leaving non-word punctuation characters intact. This makes it possible for unauthenticated attackers to execute code on the server. The only authentication barrier is a nonce check, but the required nonce is publicly emitted on every front-end page via the wp_head hook, making it freely obtainable by unauthenticated visitors. Payloads must be non-word XOR gadgets to bypass sanitization.
A remote code execution vulnerability exists in the Cost Calculator Builder PRO plugin for WordPress, affecting all versions through 4.0.3. The issue arises in the js_to_php function, where the orderDetails[*].originalValue field is inadequately sanitized. This field is injected directly into a calculator formula string and evaluated using PHP's eval() function. The regex allow-list in the evaluateFormula() function only removes alphanumeric tokens, leaving non-word punctuation unfiltered, which allows unauthenticated attackers to execute arbitrary code on the server. Although a nonce check is in place, the required nonce is publicly available on every front-end page, making it easily accessible to unauthenticated users. Exploitation requires the use of non-word XOR gadgets to evade sanitization.
Users are advised to update the Cost Calculator Builder PRO plugin to version 4.0.4 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 29, 2026CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| StylemixThemes Cost Calculator Builder PRO | <= 4.0.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2026 | New CVE Received | [email protected] |
Volerion