Skip to content

Conversation

@david1alvarez
Copy link
Contributor

Because:

  • Users can currently view carts associated with another account's uid when provided with the URL

This commit:

  • Adds in a frontend intercept that redirects the user to the start of the checkout process if the request cart's UID does not match the signed in user's UID

Closes #PAY-3155

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Other Information

The front end still receives the cart data that isn't associated with the current user. This PR only aims to address accidental cart views, and isn't a true security measure.

Because:

* Users can currently view carts associated with another account's uid when provided with the URL

This commit:

* Adds in a frontend intercept that redirects the user to the start of the checkout process if the request cart's UID does not match the signed in user's UID

Closes #PAY-3155
@david1alvarez david1alvarez requested a review from a team as a code owner December 18, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants