# SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments <= 4.12.1 - Unauthenticated Open Redirect via 'success_url' Parameter

- **ID:** WPSEC-2026-2916
- **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.13.0
- **Fixed in:** 4.13.0 (Update to 4.13.0 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-601
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/surecart
- **Fix released:** 2026-11-11
- **Published:** 2026-11-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2916/

## Description

The SureCart plugin for WordPress is vulnerable to Open Redirect via the 'success_url' parameter on the add payment method page in all versions up to, and including, 4.12.1 due to insufficient validation of the redirect URL, which was only passed through esc_url and not restricted to the site's own host. This makes it possible for unauthenticated attackers to redirect customers to arbitrary external sites after they add a payment method, provided they can trick a logged-in customer into following a crafted link.

## References

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

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

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.
