Reflected XSS on $Any$.myshopify.com/admin
A reflected cross-site scripting flaw existed in the admin authentication endpoint of any Shopify store, via the return_url parameter. An attacker could craft a link that, when visited, executes JavaScript in the context of the store's admin domain.
- Triaged in 6 hours
- Fixed in 6 days
- Paid in 10 days
- Disclosed after 33 days
Description :
Hi, I have found a reflected cross site scripting vulnerability in <any>.myshopify.com/admin through return_url parameter .
Step to reproduce :
1-Go to https://<Any>.myshopify.com/admin/authenticate?return_url=javascript:alert(100)// 2-Click on reload this page 3-Xss alert message
Impact
Xss attack in <Any>.myshopify.com/admin
Attachments


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 return_url parameter was reflected into the page without proper validation or encoding, allowing a javascript: URL to execute.
Impact
An attacker could execute JavaScript in the context of a store's admin domain.
What the attacker needed
Visit the crafted admin authentication URL
How it was found
- Open the admin authentication URL with a javascript: value in the return_url parameter.
- Reload the page.
- Observe the JavaScript alert executing.
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.
Cross-site scripting (XSS) lets an attacker run their own JavaScript in a victim's browser on a trusted website. Here, a parameter called return_url was not checked properly, so a link could make the admin page run code.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.