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.
Published: 2026-07-29
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Cost Calculator Builder PRO plugin suffers from a code injection flaw in the js_to_php function. The orderDetails[*].originalValue field is inserted verbatim into a string that is passed to PHP eval(), and the only filtering performed is a whitelist of alphanumeric tokens, leaving punctuation and other characters untouched. This handling corresponds to CWE‑94. When an attacker supplies crafted payloads, they can execute arbitrary code on the web server, giving full control of the WordPress installation. The vulnerability is triggered by an HTTP request that contains the orderDetails payload; the only authentication check is a nonce that is publicly emitted on every front‑end page through wp_head, making the attack truly unauthenticated.

Affected Systems

Affected systems are WordPress sites that have the StylemixThemes Cost Calculator Builder PRO plugin installed at any version up to and including 4.0.3. The plugin reads order details from the user interface and passes them to eval without proper sanitization, so every instance of the plugin running a vulnerable version is susceptible to exploitation.

Risk and Exploitability

Risk assessment shows a CVSS score of 9.8, indicating a critical impact level. The EPSS score of less than 1% suggests that, as of this analysis, exploit activity is low, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, the attack path is straightforward: an unauthenticated user can retrieve the required nonce from the page source, submit a crafted orderDetails payload via form input or API call, and trigger PHP eval(), achieving code execution. The low complexity and high impact make it a high-priority concern for any site running a vulnerable plugin version.

Generated by OpenCVE AI on August 4, 2026 at 12:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Cost Calculator Builder PRO plugin to the latest release (4.0.4 or later) to remove the eval usage and input filtering flaw.
  • If an immediate update is not feasible, deactivate or uninstall the plugin to eliminate the exposed code path and prevent further exploitation.
  • As a temporary workaround, restrict access to wp_head or block the wp_ajax endpoint that exposes the nonce by configuring the web server or using a security plugin, recognizing that this may impact legitimate functionality.

Generated by OpenCVE AI on August 4, 2026 at 12:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Stylemixthemes
Stylemixthemes cost Calculator Builder Pro
Wordpress
Wordpress wordpress
Vendors & Products Stylemixthemes
Stylemixthemes cost Calculator Builder Pro
Wordpress
Wordpress wordpress

Wed, 29 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title Cost Calculator Builder PRO <= 4.0.3 - Unauthenticated Remote Code Execution via 'orderDetails' Parameter
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Stylemixthemes Cost Calculator Builder Pro
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-29T13:42:11.473Z

Reserved: 2026-07-06T19:54:26.333Z

Link: CVE-2026-14900

cve-icon Vulnrichment

Updated: 2026-07-29T13:42:07.889Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T11:16:48.200

Modified: 2026-07-30T14:01:30.413

Link: CVE-2026-14900

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T12:45:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')