# SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments <= 4.13.2 - Unauthenticated Arbitrary Shortcode Execution via Product Reviews and Product List Search

- **ID:** WPSEC-2026-4059
- **Plugin:** SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments (`surecart`), https://wordpress.org/plugins/surecart/
- **Affected versions:** all versions before 4.14.0
- **Fixed in:** 4.14.0 (Update to 4.14.0 or later.)
- **Severity:** Medium 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/surecart
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4059/

## Description

The SureCart plugin for WordPress is vulnerable to arbitrary shortcode execution via the product list search term and product review fields in all versions up to, and including, 4.13.2. This is due to these values being printed into block output with escaping that leaves square brackets intact, while that output is then run through do_shortcode(): in template parts, the plugin ran do_shortcode() after do_blocks(), and post content goes through the_content. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on the site.

## References

- https://wpsec.com/vuln/WPSEC-2026-4059/
- https://plugins.svn.wordpress.org/surecart/tags/4.14.0/
- https://wordpress.org/plugins/surecart/

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

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.
