Open redirect using checkout_url
The account logout and login pages accepted a return/checkout URL pointing at checkout.shopify.com and redirected there without validating the final destination. An attacker could set up their own store with a redirect from a path matching their store ID, then send a crafted link so the victim ends up on an arbitrary malicious site.
Originally disclosed on HackerOne
- Triaged in 26 hours
- Fixed in 3 days
- Paid in 17 days
- Disclosed after 17 days
Hi , I would like to report an open redirect issue in <account>.myshopify.com/account/logout and <account>.myshopify.com/account/login
#Details:
Your application allow redirecting to https://checkout.shopify.com/ through https://<shop>.myshopify.com/account/logout?return_url=<url>
The page https://checkout.shopify.com/<Store_id> will display the 404 page of the store.
Here is how this can be used for open redirection:
- Attacker creates a store then adds a new URL redirect with
/[Store_id]in the Old path field and the malicious website(e.g:evil.com) in the Redirect to field.

- Attacker sends the victim a link like this:
https://<victim>.myshopify.com/account/logout?return_url=https://checkout.shopify.com/[Attacker's_store_id]
3. The victim will be redirected to the malicious website.
#PoC:
https://<account>.myshopify.com/account/logout?return_url=https://checkout.shopify.com/14372648
This will redirect you to evil.com
https://<account>.myshopify.com/account/login?checkout_url=https://checkout.shopify.com/14372648
This will redirect you to evil.com after you login.
Thanks!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the redirect target was only checked against the checkout.shopify.com host, without accounting for attacker-controlled store-level redirects on that host.
Impact
A victim could be sent from a genuine Shopify shop link to an attacker-chosen site, which may be used for phishing or malware delivery.
What the attacker needed
Attacker owns a Shopify store; victim clicks a crafted link; victim may need to log in for the login variant
How it was found
- Attacker creates a store and adds a URL redirect from a path matching their store ID to a malicious site.
- Attacker sends the victim a logout link whose return_url points at checkout.shopify.com with the attacker's store ID.
- The victim is redirected through checkout.shopify.com to the malicious site.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An open redirect is when a site takes a link parameter and sends you to whatever address is in it. Here the site redirected to checkout.shopify.com, and an attacker could make their own store there forward visitors onward to any site. So a victim clicking a link that looks like it belongs to the real shop could land on a malicious page.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.