Skip to content
XSS Disclosed report Intermediate

Stored XSS in Question edit from product name

A product name containing HTML markup was stored and later rendered without proper encoding inside the Judge.me Questions edit screen in the Shopify admin. An attacker could run script in an administrator's browser session when the question was edited.

errorinhuman Follow

Originally disclosed on HackerOne

Bounty$500 Medium 5.7 View original
  • Triaged in 5 days
  • Fixed in 10 days
  • Paid in 5 days
  • Disclosed after 4 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)>
  2. Go to our store and write question to our product with name "><img src=x onerror=prompt(document.domain)>
  3. Then go to Shopify admin/Judge.me Product Reviews/Questions and edit question. XSS triage
POC.png
POC.png From the original on HackerOne

POC video:

POC1.mp4 From the original on HackerOne

Impact

Cookie 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 product name was stored and then output into the admin question edit page without HTML encoding, so markup in the name was interpreted by the browser.

Impact

Script runs in the admin's session, which the reporter says could be used to steal cookies.

What the attacker needed

A Shopify shop with Judge.me installed; attacker can set a product name; admin opens the question edit page

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 treated as HTML when shown in the admin question edit page. Because it was not escaped, a script in the name ran in the admin's browser, which the reporter says could steal cookies.

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.