Bulk Discount App in myshopify.com exposes http://bulkdiscounts.shopifyapps.com vulnerable to XSS
A Shopify app for bulk discounts did not sanitise product and collection names, so a name containing HTML markup was rendered as code on the app's own domain. An attacker who could set such a name could run script in the context of the app's domain.
- Triaged in 22 days
- Fixed in 2 months
- Paid in 22 days
- Disclosed after 2 months
Installing the Bulk Discount App in *.myshopify.com (which requires a paid basic plan) makes the bulkdiscounts.shopifyapps.com vulnerable to XSS due to non sanitized input in products and collections.
POC:
- Enter a product name or a collection such as "><img src=x onerror=prompt(document.domain)> and save it.
- Install the Shopify BulkDiscounts App
- Go to Apps -> Shopify BulkDiscounts
- Click on "Create One now" or "New Discount Set"
Due to improper sanitization XSS occurs in the shopifyapps.com domain !!
Thanks
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
Root cause
Likely the app inserted product and collection names into its pages without escaping them, so markup in a name was treated as HTML.
Impact
Script could run in the shopifyapps.com origin, which could let an attacker act as the app on that domain; the report does not show a concrete attack beyond a prompt.
What the attacker needed
A paid Shopify basic plan; ability to set a product or collection name
How it was found
- Save a product or collection whose name contains HTML markup.
- Install the Bulk Discounts app on the store.
- Open the app from the Apps menu.
- Start creating a new discount set.
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.
When a website shows text you typed, it should treat it as plain text. Here the app put the product name into the page as if it were part of the page's code, so a name crafted to look like code ran as code. That lets an attacker run their own script in a victim's browser on the app's domain.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.