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.
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
- Locate the chatbot input field on the homepage.
- Submit a basic HTML heading tag through the chatbot input.
- Observe that the chatbot renders the tag as raw HTML.
- 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.