# SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments <= 4.13.2 - Authenticated (Subscriber+) Insecure Direct Object Reference to Customer Records via Unverified Email-Based Account Linking

- **ID:** WPSEC-2026-4061
- **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 5.9 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N)
- **Weakness:** CWE-639
- **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-4061/

## Description

The SureCart plugin for WordPress is vulnerable to Insecure Direct Object Reference via email-based customer account linking in all versions up to, and including, 4.13.2, due to the plugin treating a matching, unverified WordPress user_email as proof that a user owns a SureCart customer record. Submitting a review or saving an item adopted any existing live customer with the user's email. Checkout confirmation linked a checkout's customer to the existing WordPress user with that email, whoever made the request. Customer sync force-linked customers to users by email. Customer login links signed the visitor into whichever WordPress account had the customer's email. This makes it possible for authenticated attackers, with Subscriber-level access and above, who set their account email to a victim's address to take over the victim's customer record, including order history, addresses, downloads and subscriptions, when that customer is not already linked to another WordPress account.

## References

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

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

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.
