Skip to content
XSS Write-up Beginner

HOW I Got My First Bug Bounty In Few Steps– $50 AUD for an HTML

The first name field of a demo booking form did not escape HTML, so a harmless tag was rendered in the confirmation email. An attacker could inject a clickable hyperlink into emails sent to guests, and the reschedule feature could send unlimited emails.

Sohambughunt Follow

Published on medium.com

For a long time, I wondered if beginners could really earn a bounty. I’d submitted valid reports to public VDPs before and never got a reply.

Sohambughunt, 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 application inserted user-supplied input into the email HTML without escaping it.

Impact

An attacker could inject HTML into confirmation emails, making links clickable for guests, and could trigger unlimited emails via the reschedule feature.

What the attacker needed

Access to the demo booking form; victim receives the confirmation email

The fix

The form was fixed so it no longer allows HTML and the vulnerable fields were removed.

How it was found

  1. Enter a harmless HTML tag in the first name field of the demo booking form.
  2. Book the demo and receive the confirmation email.
  3. Observe that the name is rendered as HTML (underlined).
  4. Check the VDP scope to confirm HTML injection is allowed.
  5. Submit a simple hyperlink payload in the same field.
  6. Receive the confirmation email and see the link is clickable, even for a guest email.

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.

When a website puts your input into a page or email, it should treat it as plain text, not as code. Here the site treated the input as HTML, so a simple tag like <u> made text underlined. That means an attacker could also insert a link that looks like part of the email.

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.