Skip to content
XSS Write-up Beginner

How I made 600$ in 60 secs ?

A chatbot input field rendered user-supplied HTML as raw markup, allowing HTML injection. An attacker could inject arbitrary HTML content into the page, though the text does not claim script execution or a specific impact beyond the injection itself.

medium.com

Published on medium.com

I’m Arjan Chaudhary, a 14 yo security researcher . Today, I want to share a quick but impactful story of how I earned $600 in under 60 secs (i guess)by discovering a simple yet critical HTML Injection vulnerability in a private bug bounty program.

arjanchaudharyy, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the chatbot input was not sanitised before being rendered as HTML, and the backend sid parameter also failed to sanitise inputs.

Impact

An attacker could inject arbitrary HTML into the chatbot output, potentially altering the page's appearance, but the text does not demonstrate script execution or a more severe consequence.

What the attacker needed

Access to the chatbot input field

How it was found

  1. Locate the chatbot input field on the homepage.
  2. Submit a basic HTML heading tag through the chatbot input.
  3. Observe that the chatbot renders the tag as raw HTML.
  4. Test further variations such as colour styling and image embedding to confirm the issue.

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 write-up has not been written yet. The Original tab links to the source.

HTML injection happens when a website takes text you type and puts it directly into the page without cleaning it first. Here, the chatbot displayed the typed heading as real HTML instead of plain text. This lets an attacker control part of the page's appearance, but the report does not show that scripts could run.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.