Skip to content
XSS Disclosed report Intermediate

Stored XSS in [shop].myshopify.com/admin/orders/[id]

Mahmoud Gamal Follow

Originally disclosed on HackerOne

  • Triaged in 19 hours
  • Fixed in 5 days
  • Paid in 12 days
  • Disclosed after 12 days

Hi, I have found a stored XSS vulnerability in [shop].myshopify.com/admin/orders/[id] in conversion details links, it's the same as #55842 but this one is through landing page URL not the referrer.

Steps to reproduce:

  1. Navigate to [shop].myshopify.com/
  2. Modify _landing_page cookie value to javascript:alert(1)
cookie-edit.png
cookie-edit.png From the original on HackerOne
  1. Add a product to your cart then complete the checkout process.
  2. Login with an admin account then navigate to [shop].myshopify.com/admin/orders/[id] and click the link for The first page they visited and alert(1) will be executed.
xss.png
xss.png From the original on HackerOne

Impact: This is a customer-to-admin XSS, so an attacker can target admins to do malicious actions such as fetching the CSRF token and using it to submit a request to add himself as an admin to takeover the store.

The original report as published on HackerOne, by zombiehelp54. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A XSS bug in Shopify. HackerOne made it public on 28 March 2017.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Mahmoud Gamal

View all

32 more disclosed reports, best first.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.