# Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder <= 4.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via data Attributes

- **ID:** WPSEC-2026-4247
- **Plugin:** Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder (`ultimate-store-kit`), https://wordpress.org/plugins/ultimate-store-kit/
- **Affected versions:** all versions before 4.1.4
- **Fixed in:** 4.1.4 (Update to 4.1.4 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-30)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ultimate-store-kit
- **Fix released:** 2026-11-29
- **Published:** 2026-11-30
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4247/

## Description

The Ultimate Store Kit plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via data attributes such as 'data-href', 'data-redirect_url', 'data-btn-text' and 'data-btn-style' in all versions up to, and including, 4.1.3. This is due to the plugin's frontend script placing these attribute values into link hrefs and HTML strings without URL validation or encoding, while KSES does not filter javascript: URLs in data attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page and interacts with the affected elements.

## References

- https://wpsec.com/vuln/WPSEC-2026-4247/
- https://plugins.svn.wordpress.org/ultimate-store-kit/tags/4.1.4/
- https://wordpress.org/plugins/ultimate-store-kit/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4247/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
