fix(payments-next): [f001] getCart mints Stripe Customer Session secret without ownership check#20840
Merged
elizabeth-ilina merged 1 commit intoJul 13, 2026
Conversation
4e6a561 to
0e0c0de
Compare
0e0c0de to
d78875d
Compare
d78875d to
dac8c59
Compare
ea9cc11 to
a47b411
Compare
a47b411 to
e7a5d09
Compare
…et without ownership check Because: * Cart read/mutate paths must verify ownership when cart.uid is set to prevent an attacker with a cart's UUID from reading someone else's information. This commit: * Adds a uid check to various cart read/mutate actions. Closes #[PAY-3795](https://mozilla-hub.atlassian.net/browse/PAY-3795)
e7a5d09 to
9c6af8a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because
This pull request
Issue that this pull request solves
Closes:
Checklist
Put an
xin the boxes that applyHow to review (Optional)
Screenshots (Optional)
Screen.Recording.2026-07-10.at.1.37.39.PM.mov
Screen.Recording.2026-07-10.at.1.39.39.PM.mov
Other information (Optional)
Any other information that is important to this pull request.