# WP Shopify <= 1.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

- **ID:** WPSEC-2026-2120
- **Plugin:** External Store for Shopify (`wp-shopify`), https://wordpress.org/plugins/wp-shopify/
- **Affected versions:** all versions before 1.7.0
- **Fixed in:** 1.7.0 (Update to 1.7.0 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 None seen (as of 2026-10-30)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-shopify
- **Fix released:** 2026-10-29
- **Published:** 2026-10-30
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2120/

## Description

The External Store for Shopify plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'product-page' and 'thumb-size' attributes of the [wp-shopify] shortcode in all versions up to, and including, 1.6.0 due to insufficient input sanitization and output escaping. The attribute values were placed directly into href and img src 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-2120/
- https://plugins.svn.wordpress.org/wp-shopify/tags/1.7.0/
- https://wordpress.org/plugins/wp-shopify/

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

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.
