HTML injection in review content
A review body field accepted raw HTML, so a link element was rendered on the product page instead of being shown as text. An attacker could insert HTML into the page through a review.
- Disclosed after 13 months
Summary by the researcher
a html injection on review parameter
The report
Hi Judge Security Team,
I found a HTML Injection in review parameter at the https://judgeme-pentest.myshopify.com/products/pentest and at the judge.me
###Steps
- Go to https://judgeme-pentest.myshopify.com/products/pentest
- Click on "Write Review"
- fill in the fields normally.

- Now, go to your profile review in the judge.me
- Edit your Review
- In Review body, enter this payload:
<a href=https://google.com/>CLICK HERE</a> - Save and go to https://judgeme-pentest.myshopify.com/products/pentest

- Boyaah.

Impact
the attacker can insert HTML codes on the page
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 review body was rendered without encoding the HTML characters, so markup typed by the user was interpreted by the browser.
Impact
An attacker could insert HTML, such as links, into the page shown to other visitors; the report does not show script execution.
What the attacker needed
A user account able to post a review; victim views the product page
How it was found
- Open the product page on the test store.
- Click the button to write a review.
- Fill in the review fields normally.
- Open your own review in the profile area and choose to edit it.
- Put a link tag in the review body and save.
- Return to the product page and the link is rendered.
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 that users typed, it should treat that text as plain text, not as instructions for the browser. Here the review field was treated as instructions, so a typed link tag became a real clickable link on the page. That lets someone put their own content, such as links, onto a page other people view.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.