Skip to content

[v4.7] Fix guest-token fixation in OrdersController - #48

Merged
jarednorman merged 1 commit into
solidusio:v4.7from
SuperGoodSoft:backport/v4.7/ghsa-qj34-2493-vx9f
Sep 9, 2026
Merged

jarednorman merged 1 commit into
solidusio:v4.7from
SuperGoodSoft:backport/v4.7/ghsa-qj34-2493-vx9f

Conversation

@jarednorman

Copy link
Copy Markdown
Member

Backport of GHSA-qj34-2493-vx9f (merged to main via the security advisory) to v4.7. Clean cherry-pick.

An attacker-supplied params[:token] was written straight into the
permanent signed guest_token cookie, rebinding the visitor's cart to
the attacker's order and stamping the attacker's token onto future
guest orders. Authorize the tokenized order view against the request
token instead, and stop writing the cookie from params.
@jarednorman
jarednorman merged commit d9ab749 into solidusio:v4.7 Sep 9, 2026
12 checks passed
@jarednorman
jarednorman deleted the backport/v4.7/ghsa-qj34-2493-vx9f branch September 9, 2026 12:59
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.

1 participant