Skip to content
XSS Write-up Beginner

How I Found a Reflected XSS in 5 Minutes by Hunting Smart, Not Ha

A researcher found a reflected cross-site scripting flaw on a login endpoint that redirected to a third-party authentication portal. An attacker could craft a link that runs script in a victim's browser on the affected site, though the text gives no payload or reproduction detail.

Birbhan Singh Follow

Published on medium.com

While browsing programs on platforms like HackerOne and Bugcrowd, I noticed something frustrating:

Birbhan Singh, 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 poor input validation or output encoding on a login endpoint that reflected user-supplied input back into the page.

What the attacker needed

A link the victim opens; affected login endpoint

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 takes something from a link or form and puts it into the page without cleaning it, so an attacker can slip in their own script. A reflected version means the malicious input bounces straight back in the response rather than being stored. Here the researcher says a login-related endpoint was vulnerable, but the details are hidden.

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.