HexBrain

Shopify · Report #618031

Stored XSS in Discounts section

Validstatus
mediumseverity
$1,000bounty
75upvotes
27 Jun 2019disclosed

Summary

We recently deployed changes to our discount timelines and @mosuan identified that product names were no longer being properly escaped. This resulted in a stored XSS vulnerability when a product with an XSS payload was referenced in the comments for a discount code. This was a valid XSS within the scope of our program because it executed outside of the rich text and theme editors on /admin of the store. It was awarded $1000 because exploitation would require access to a staff account with discounts permission.

How it was found

self-xss

Impact

1.add Products, shop name is '"'><img src=x onerror=alert(domain.domain)>' 2.click Discounts->code, https://mosuan-img-src-x.myshopify.com/admin/discounts/367541518396 3.add comments, Choose the goods just now. 4.alert

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original