Skip to content
XSS Disclosed report Beginner

Stored XSS on demo app link

A stored cross-site scripting vulnerability existed in the demo URL field of app submissions on apps.shopify.com. An attacker could inject a script that executes when a user previews changes and views the example store.

flashdisk Follow

Originally disclosed on HackerOne

Medium 4.2 View original
  • Triaged in 29 hours
  • Fixed in 17 days
  • Paid in 29 hours
  • Disclosed after 19 months

Hi,

I found stored XSS in apps.shopify.com in the DEMO URL of the apps you create.

#POC

  1. go to your partner account and create a new app
  2. go to DEMO link in https://apps.shopify.com/services/app_submissions/edit# of your app

put the payload you see below:

stored1.PNG
stored1.PNG From the original on HackerOne

and when pressing on preview changes button and then pressing on view example store xss will fire as follows:

stored2.PNG
stored2.PNG From the original on HackerOne

thanks!

Impact

Stored XSS on apps.shopify.com

The original report as published on HackerOne, by flashdisk. 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.

How it worked

Root cause

Likely the demo URL input was not properly sanitised or validated before being rendered in the preview and example store pages.

Impact

Stored XSS on apps.shopify.com, executing script when the preview and example store are viewed.

What the attacker needed

A Shopify partner account; ability to create an app

How it was found

  1. Go to your partner account and create a new app.
  2. Go to the DEMO link in the app submission edit page.
  3. Enter the payload in the DEMO URL field.
  4. Press 'preview changes' and then 'view example store' to trigger the XSS.

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.

Stored cross-site scripting (XSS) is when a website saves harmful code and later shows it to other users, letting the code run in their browsers. Here, the demo link field for an app saved a script, and it ran when someone clicked preview and view example store.

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 flashdisk

View all

9 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.