Skip to content
XSS Disclosed report Beginner

HTML INJECTION (STORED)

A user's public profile product description accepted raw HTML and stored it, so the injected markup was shown to other visitors. The reporter could not run JavaScript, but an attacker could use the stored HTML for phishing or to fake reviews and ratings.

criptex Follow

Originally disclosed on HackerOne

  • Disclosed after 19 months

Hi team!

I found a way to inject arbitrary html which is also persistent or stored. Unfortunately I could not execute javascript code, however I think that being stored html it is important to take a look, attackers could use this vulnerability for phishing attacks for example.

###PoC

https://judge.me/profile/y5YJe35X

You can see in the product description how I can add various html elements.

###To reproduce this:

In your profile judge.me go to "my public profile" then my recommendations, now add some html tags in description and then press "add recommendation"

htmlinjection.png
htmlinjection.png From the original on HackerOne

Impact

Attackers can use this vulnerability to carry out phishing attacks. It is important to mention again that the stored html code has more impact, the victim does not need user interaction as in the case of the reflected xss. Also, an attacker could generate good ratings and fake reviews by using html about your product to build trust.

The original report as published on HackerOne, by criptex. 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 description field was rendered as raw HTML without sanitising or escaping user input.

Impact

An attacker could use the stored HTML for phishing or to create fake ratings and reviews, and unlike reflected cross-site scripting the victim does not need to click a crafted link.

What the attacker needed

A judge.me account; ability to add a recommendation

How it was found

  1. Open your judge.me profile and go to the public profile section.
  2. Open the recommendations area.
  3. Add HTML tags in the description field.
  4. Press the button to add the recommendation.

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 puts what you type into a page without cleaning it first, your text can become part of the page's structure. Here the description field allowed HTML tags, which are the instructions that build a web page. The reporter could not run scripts, but could still insert links or fake content that other people would see.

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 criptex

View all

2 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.