Executive brief
StoreGrowth, a WordPress plugin used to enhance WooCommerce sales through features like popups and upsells, contains a security flaw that allows unauthorized individuals to inject malicious scripts into the website. This occurs because the plugin fails to properly clean user-provided data and inadvertently shares a security token (nonce) with all visitors. An attacker could use this to redirect customers to fraudulent sites, steal session information, or deface the store, potentially damaging the business's reputation and customer trust.
Technical details
The StoreGrowth plugin for WordPress (versions up to 2.1.0) is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient input sanitization and output escaping on the 'message_popup' parameter. While the 'create_popup' handler is protected by an 'ajd_protected' nonce, this nonce is improperly exposed to all unauthenticated frontend visitors via 'wp_localize_script' under 'bogo_save_url.ajd_nonce'. This exposure allows unauthenticated attackers to bypass intended access controls and submit malicious payloads. When a user or administrator views the affected page, the injected script executes in their browser context. A patch appears to be available in versions following 2.1.0.
Affected products
- wedevs StoreGrowth – Upsell, BOGO, Quick View, Direct Checkout & Side Cart for WooCommerce <= 2.1.0
Timeline
- 2026-07-28: disclosed
- 2026-07-28: advisory
References
- https://plugins.trac.wordpress.org/browser/storegrowth-sales-booster/tags/2.0.5/modules/bogo/includes/EnqueueScript.php
- https://plugins.trac.wordpress.org/browser/storegrowth-sales-booster/tags/2.0.5/modules/sales-pop/assets/js/popup-custom.js
- https://plugins.trac.wordpress.org/browser/storegrowth-sales-booster/tags/2.0.5/modules/sales-pop/includes/Ajax.php
- https://plugins.trac.wordpress.org/browser/storegrowth-sales-booster/tags/2.1.0/modules/bogo/includes/EnqueueScript.php
- https://plugins.trac.wordpress.org/browser/storegrowth-sales-booster/tags/2.1.0/modules/sales-pop/assets/js/popup-custom.js
- https://plugins.trac.wordpress.org/browser/storegrowth-sales-booster/tags/2.1.0/modules/sales-pop/includes/Ajax.php
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3619581%40storegrowth-sales-booster&new=3619581%40storegrowth-sales-booster