xss stored in https://your store.myshopify.com/admin/
A stored XSS flaw existed in the Shopify admin menu editor: a menu item name containing an image tag with an error handler was saved and executed when the item was removed, running script in the admin's browser.
- Triaged in 28 hours
- Fixed in 16 days
- Paid in 2 days
- Disclosed after 3 months
hello , i fond xss stored in https://your store.myshopify.com/admin/ steps ;
- go to
https://swqdewd.myshopify.com/admin/menus/new - click in Add menu item
- add name
">{{media:0}}AND any link - now click add
- click in remove item
- alert
- watch the vedio poc for more information
Impact
xss attack .....
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
What the attacker needed
Access to the store admin menu editor; victim views and removes the item
How it was found
- Open the new menu page in the store admin.
- Click to add a menu item.
- Enter a name containing an image tag with an error handler and any link.
- Save the new item.
- Click to remove the item.
- The script runs and an alert appears.
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) is when a website saves or shows text from a user without cleaning it, so the browser treats that text as code and runs it. Here the menu item name was saved and later a script ran when the item was removed. The script used the admin's cookie in an alert.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.