top of page
perceptive_background_267k.jpg

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 functi…

Published:

28 July 2026 at 22:00:00

Alert date:

29 July 2026 at 12:00:58

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Zero-Day Vulnerabilities

The Cost Calculator Builder PRO plugin for WordPress contains a critical Remote Code Execution vulnerability affecting all versions up to and including 4.0.3. The flaw exists in the js_to_php function, where the orderDetails[*].originalValue field is insufficiently sanitized and injected verbatim into a formula string evaluated by PHP's eval() function. The regex allow-list in evaluateFormula() only filters alphanumeric tokens, leaving non-word punctuation characters unfiltered. The only authentication barrier is a nonce check, but the nonce is publicly exposed on every front-end page via the wp_head hook, making it freely obtainable by unauthenticated visitors. This effectively allows unauthenticated attackers to execute arbitrary code on the server. Attackers must craft payloads using non-word XOR gadgets to bypass the sanitization. The vulnerability carries a critical risk profile due to its unauthenticated nature and full code execution impact.

Technical details

Mitigation steps:

Affected products:

Cost Calculator Builder PRO plugin for WordPress (versions up to 4.0.3)

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page