# Snapchat for WooCommerce <= 1.0.9 - Cross-Site Request Forgery to Snapchat Account Connection

- **ID:** WPSEC-2026-4283
- **Plugin:** Snapchat for WooCommerce (`snapchat-for-woocommerce`), https://wordpress.org/plugins/snapchat-for-woocommerce/
- **Affected versions:** all versions before 1.0.10
- **Fixed in:** 1.0.10 (Update to 1.0.10 or later.)
- **Severity:** Medium 4.2 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/snapchat-for-woocommerce
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4283/

## Description

The Snapchat for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery via the Snapchat connection setup page in all versions up to, and including, 1.0.9. This is because the OAuth connection flow does not use a state value: the setup page reads the config_id and products_token query parameters and submits them automatically to the set_config REST handler, and the handler saves them without checking that the user started the connection. This makes it possible for unauthenticated attackers to link the store's Snapchat connection, including the configuration ID, products token, Pixel ID and Conversion API token, to a Snapchat account the attacker controls. The attacker must trick a logged-in administrator or shop manager into opening a crafted setup-page link while the store is not yet connected to Snapchat.

## References

- https://wpsec.com/vuln/WPSEC-2026-4283/
- https://plugins.svn.wordpress.org/snapchat-for-woocommerce/tags/1.0.10/
- https://wordpress.org/plugins/snapchat-for-woocommerce/

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

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.
