Skip to content
XSS Disclosed report Intermediate

Stored XSS via "Free Shipping" option (Discounts)

ancst Follow

Originally disclosed on HackerOne

Bounty$500 View original
  • Triaged in 4 hours
  • Fixed in 3 days
  • Paid in 17 days
  • Disclosed after 17 days

POC steps:

  1. Go to the customers page and add a new search group named as "><img src=x onerror=prompt(7) (see img1.png)

  2. Go to the discounts page, create a new discount code and mark the "Free Shipping" option.

  3. Open a web proxy (i.e. tamper data) and press the "save discount" button.

  4. Through the web proxy (i.e. tamper data) modify the POST request and change the value of "discount%5Bapplies_to_resource%5D" to "customer_saved_search" and the "discount%5Bapplies_to_id%5D" to "1131411463" (the id of the new search group in step 1)(see img2.png).

  5. Xssed (img3.png)

    Click Save

Attachments

img2.png
img2.png From the original on HackerOne
img3.png
img3.png
img1.png
img1.png

The original report as published on HackerOne, by ancst. 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 5 April 2016. It paid $500.

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