Skip to content
XSS Disclosed report Intermediate

Stored XSS in Question edit for product name (bypass #1416672)

A product name containing HTML markup was stored and later rendered without sanitisation when a merchant edited a question in the Judge.me admin panel, so the injected script executed. An attacker could run script in a merchant's admin session and steal it.

errorinhuman Follow

Originally disclosed on HackerOne

Bounty$500 Medium View original
  • Triaged in 5 days
  • Fixed in 11 days
  • Paid in 5 days
  • Disclosed after 3 months

Hi @judgeme! Step to reproduce:

  1. Log in to your shopify account and create product with name "><"><img src=x onerror=prompt(document.domain)> img src=x onerror=prompt(document.domain)>
  2. Go to our store and write question to our product with name "><"><img src=x onerror=prompt(document.domain)> img src=x onerror=prompt(document.domain)>
  3. Then delete our product from store (The product status must be (out of store) in questions.
  4. Then go to Shopify admin/Judge.me Product Reviews/Questions and edit question. XSS triage
POC1.png
POC1.png From the original on HackerOne

POC video

bypass_POC.mp4 From the original on HackerOne

Impact

session stealer

The original report as published on HackerOne, by errorinhuman. 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 question edit view rendered the stored product name as raw HTML without sanitising or escaping it.

Impact

Script runs in the merchant's admin session, allowing session theft; the report only claims 'session stealer' without further detail.

What the attacker needed

A Shopify merchant account; a product and a storefront question; victim opens the question edit view

How it was found

  1. Create a product whose name contains HTML markup with an event handler.
  2. Post a question on that product from the storefront.
  3. Delete the product so its status becomes out of store while the question remains.
  4. Open the question in the Judge.me admin panel and edit it, which triggers the script.

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.

A product name is just text, but this app treated it as HTML when showing a question in its admin screen. Because the name was never cleaned, a script hidden in it ran inside the shop owner's logged-in admin page. That lets an attacker act as the shop owner, for example by stealing their session.

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 errorinhuman

View all

4 more disclosed reports, best first.

More from Judge.me

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.