Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site running Cost Calculator Builder
-
DeliverySend unauthenticated GET request to any calculator page
-
ExploitExtract plaintext secret key from HTML source
-
ExecutionAuthenticate to Stripe/Razorpay/PayPal API using harvested key
-
ImpactExecute unauthorized charges or refunds against merchant account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires exactly one non-default configuration: the 'use in all calculators' option must be explicitly enabled in the Cost Calculator Builder plugin's global settings for at least one payment gateway (Stripe, Razorpay, or PayPal). With this option active, any WordPress page that renders a cost calculator widget will embed the corresponding secret key in the public HTML response. The attack is otherwise unconstrained: no authentication is required (PR:N per CVSS vector), no user interaction is needed, and the vulnerability is reachable over the network from any unauthenticated HTTP client. Exploitation is limited by the requirement that the merchant site have at least one publicly accessible page containing a calculator and that the payment gateway be configured with live (not test) credentials - sites using only test-mode keys expose no live payment authority. Sites where the 'use in all calculators' option is disabled are not affected, even if the plugin is installed and active. |
| Impact | The official CVSS 3.1 score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) materially understates real-world risk. The C:L metric treats the exposure as partial information disclosure, but what is exposed - live payment gateway secret keys - represents a complete compromise of the merchant's payment processing capability, not a partial one. The S:U (unchanged scope) rating is also contestable: the impact is fully realized outside the WordPress instance, in third-party payment gateway accounts not under WordPress's authority, which logically implies a scope change. There is no EPSS data in the provided intelligence, no CISA KEV listing, and no confirmed public POC, so automated or widespread exploitation has not been confirmed. However, the attack requires zero privileges, zero user interaction, and only a trivial HTTP GET request - SSVC automatable rating is effectively YES once the condition (global payment gateway option enabled) is met. The limiting factor is the non-default configuration requirement: the 'use in all calculators' option must be explicitly enabled, narrowing the exposed population. Security teams should treat this as high-priority remediation for any merchant site with this option active, despite the moderate NVD score. |
| Exploit ScenarioDerived | An attacker browses to any publicly accessible WordPress page that contains a cost calculator widget on an affected merchant site where the 'use in all calculators' payment gateway option is active. Using browser developer tools or a simple 'view source', the attacker locates the plaintext Stripe secret key (beginning with 'sk_live_') or equivalent Razorpay/PayPal credential embedded in the HTML. The attacker then uses this key directly against the Stripe, Razorpay, or PayPal API to issue charges against stored customer payment methods, trigger refunds to attacker-controlled accounts, or enumerate the merchant's customer payment data. No exploit code, authentication, or elevated access is required beyond a standard HTTP GET request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 11, 2026
Plaintext payment gateway secret key exposure in the Cost Calculator Builder WordPress plugin (all versions ≤ 4.0.11) allows any unauthenticated remote visitor to harvest Stripe, Razorpay, and PayPal merchant credentials directly from page HTML source. The plugin embeds live API secret keys in the frontend template body when the 'use in all calculators' global payment gateway option is active, making those keys readable without any authentication or special tooling. While the assigned CVSS score is 5.3 (Medium), the practical impact is business-critical: extracted secret keys grant full programmatic control over the merchant's payment accounts, enabling unauthorized charges, refunds, and access to stored customer payment data. No public exploit or CISA KEV listing is identified at time of analysis.
RemediationAI
Update the Cost Calculator Builder plugin to version 4.0.12 or later - a fix changeset has been committed to the WordPress plugin repository (see the Trac changeset reference: plugins.trac.wordpress.org/changeset?reponame=&old=3578557%40cost-calculator-builder&new=3578557%40cost-calculator-builder), though the exact released patched version number is inferred rather than explicitly confirmed in available data. Verify the update is available via the WordPress admin dashboard or the official plugin repository before deploying. As an immediate compensating control where updating is not immediately possible, disable the 'use in all calculators' option for all payment gateways in the plugin's global settings - this directly eliminates the condition that triggers the exposure, though it may interrupt calculator-based payment flows. Critically, any merchant who has run a vulnerable version with the global payment option enabled should treat their Stripe secret key, Razorpay secret key, and PayPal client_secret as compromised: rotate all affected credentials immediately via each payment provider's developer dashboard and audit transaction logs for unauthorized activity. Further advisory detail is available via Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/29de766d-5e7e-46b4-acac-feec5b33589e.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cost Calculator Builder (vendor: StyleMix, CPE: cpe:2.3:a:stylemix:cost_calculator_builder:*:*:*:*:*:*:*:*) is a WordPress plugin that renders interactive pricing calculators on the frontend. The vulnerability is rooted in CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor): the plugin's frontend rendering pipeline - specifically templates/frontend/render.php (lines 28, 61, 281) and includes/functions.php (line 748) - writes payment gateway API credentials into the HTML template body that is delivered to every site visitor. This occurs when the plugin's global 'use in all calculators' toggle is enabled for any of the three supported gateways (Stripe, Razorpay, PayPal). The root cause is an architectural mistake: live secret API keys intended only for server-side use are passed through a Twig/PHP template context that renders into the public DOM, rather than being consumed exclusively in server-side PHP before the response is built. The disclosed credentials are not public-facing API keys but secret keys (Stripe secret key, Razorpay secret key, PayPal client_secret), which carry full account-management authority.
Know when Cost Calculator Builder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Scope changes because secret keys control external payment gateway accounts; full API key disclosure yields high confidentiality and integrity impact against those accounts.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Cost Calculator Builder plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.0.11 via the (template body). This makes it possible for unauthenticated attackers to extract the plaintext Stripe secret key, Razorpay secret key, and PayPal client_secret embedded in the page source of any page containing a calculator, enabling full control of the merchant's payment gateway accounts. This exposure only occurs when the 'use in all calculators' option is enabled for one or more payment gateways in the plugin's global settings.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Cost Calculator Builder
View allImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in StylemixThemes Cos
The Cost Calculator Builder WordPress plugin before 3.2.29 does not properly sanitise and escape a parameter before usin
The Cost Calculator Builder WordPress plugin before 3.2.43 does not have CSRF checks in some AJAX actions, which could a
The Cost Calculator Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘textarea.descript
Unauthenticated information disclosure in the StylemixThemes Cost Calculator Builder WordPress plugin (all versions thro
Cost Calculator Builder for WordPress exposes live payment gateway credentials to any authenticated site user through a
Unauthenticated attackers can manipulate product prices in WooCommerce carts via an unprotected AJAX action in the Cost
The Cost Calculator Builder plugin for WordPress is vulnerable to Unauthenticated Payment Status Bypass in all versions
The Cost Calculator Builder PRO plugin for WordPress is vulnerable to price manipulation in all versions up to, and incl
The Cost Calculator Builder plugin for WordPress is vulnerable to unauthorized modification of data due to a missing cap
EUVD-2026-43152
GHSA-7cvm-m8m6-prmw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB