Cost Calculator Builder PRO <= 4.0.3 - Unauthenticated Remote Code Execution via 'orderDetails' Parameter

9.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-14900
CVSS 9.8 (Critical)
Publicly Published July 28, 2026
Last Updated July 29, 2026
Researcher Nox Axter

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.

References

Share

Vulnerability Details for Cost Calculator Builder PRO

Software Type Plugin
Software Slug cost-calculator-builder-pro
Patched? Yes
Remediation Update to version 4.0.4, or a newer patched version
Affected Version
  • <= 4.0.3
Patched Version
  • 4.0.4

Recent vulnerabilities in Cost Calculator Builder PRO

# Title CVE ID CVSS Researchers Date
1 Cost Calculator Builder PRO <= 3.2.15 - Unauthenticated SQL Injection via data CVE-2024-11939 7.5 Trương Hữu Phúc (truonghuuphuc) January 7, 2025
2 Cost Calculator Builder PRO <= 3.2.1 - Unauthenticated Price Manipulation CVE-2024-6010 5.3 andrea bocchetti September 6, 2024
3 Cost Calculator Builder PRO <= 3.1.75 - Unauthenticated Arbitrary Email Sending CVE-2024-4787 5.8 István Márton June 18, 2024
4 Cost Calculator Builder Pro <= 3.1.72 - Authenticated (Subscriber+) Server-Side Request Forgery CVE-2024-4789 6.4 haidv35 May 16, 2024
5 Cost Calculator Builder Pro <= 3.1.67 - Unauthenticated Cross-Site Scripting via SVG Upload CVE-2024-4097 7.2 andrea bocchetti April 30, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation