Skip to content
XSS Write-up Beginner

My First Private Bug Bounty Invitation — The Real Game Begins

A reflected cross-site scripting vulnerability was found in a search endpoint, allowing an attacker to execute script in a victim's browser. The report was later marked as a duplicate of a different DOM-based XSS on another subdomain.

Sivasankar Das Follow

Published on medium.com

Damn. This was it.

Sivasankar Das, 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 search endpoint reflected user input into the page without proper output encoding or sanitisation.

Impact

The reflected XSS could lead to session hijacking, credential theft, and account takeover risks, though the report was ultimately marked as a duplicate.

What the attacker needed

Victim clicks a crafted link; search endpoint reflects input

How it was found

  1. Perform manual reconnaissance including passive OSINT, Google dorking, and JavaScript analysis.
  2. Identify a search endpoint that appears to reflect input.
  3. Test the endpoint with a crafted payload to confirm script execution.
  4. Document the finding with a proof of concept and submit the report.

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.

Cross-site scripting (XSS) is when a website lets an attacker sneak in their own JavaScript code, which then runs in other users' browsers. Here, a search box echoed back malicious input without cleaning it, so the script ran. This could let an attacker steal cookies or take over accounts.

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 Sivasankar Das

View all

3 more disclosed reports, best first.

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.