# Pinterest for WooCommerce <= 1.5.1 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via Settings REST Endpoint

- **ID:** WPSEC-2026-0661
- **Plugin:** Pinterest for WooCommerce (`pinterest-for-woocommerce`), https://wordpress.org/plugins/pinterest-for-woocommerce/
- **Affected versions:** from 1.2.5 before 1.5.2
- **Fixed in:** 1.5.2 (Update to 1.5.2 or later.)
- **Severity:** Medium 5.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-08)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/pinterest-for-woocommerce
- **Fix released:** 2026-10-07
- **Published:** 2026-10-08
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0661/

## Description

The Pinterest for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 1.2.5 up to, and including, 1.5.1 due to the settings REST endpoint saving every submitted key, including server-owned Pinterest account data, and the catalog page rendering the stored ad credits value as HTML without sanitization. This makes it possible for authenticated attackers with shop manager-level access and above to inject arbitrary web scripts that execute whenever an administrator accesses the plugin's catalog page.

## References

- https://wpsec.com/vuln/WPSEC-2026-0661/
- https://plugins.svn.wordpress.org/pinterest-for-woocommerce/tags/1.5.2/
- https://wordpress.org/plugins/pinterest-for-woocommerce/

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

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.
