Skip to content
XSS Write-up Beginner

Exploiting Blind XSS in a Signup Page: Admin Panel Takeover and Real-World Impact ($3000 P2 Private…

A signup form stored the username value without sanitising or encoding it, and an administrator later viewed that value in a backend interface. The injected script ran in the admin's browser and the hunter's out-of-band tool captured the admin panel and session data, which the author says could lead to full admin takeover.

MianHammadx0root Follow

Published on medium.com

During a recent bug-hunting session, I identified a critical Blind Cross-Site Scripting (Blind XSS) vulnerability in the Signup Page of a private program worth $3000 (P2 impact level). This vulnerability resided in the username field, where I injected a Blind XSS payload.

Mian Hammad, 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 username value was stored and later rendered in an admin interface without output encoding or sanitisation.

Impact

The script ran in an administrator's browser and could have allowed session hijacking and full admin takeover, though the text only claims a potential takeover rather than a demonstrated one.

What the attacker needed

A signup form with a stored username; an admin views the stored value; out-of-band monitoring service

The fix

User input should be output-encoded wherever it is rendered, sanitised with a library, and backed by a restrictive Content Security Policy.

How it was found

  1. Find the signup page and note that the username field is stored and later viewed by administrators.
  2. Submit a registration with a script payload in the username field.
  3. Wait for an administrator to open the stored value in the backend.
  4. Receive the out-of-band callback with a screenshot of the admin panel and captured session data.

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.

A blind cross-site scripting bug is when text you type into a website is saved and later shown to someone else, such as an administrator, without being made safe. The browser treats that saved text as code and runs it inside the admin's session. Because the attacker never sees the page themselves, they use an external monitoring service that alerts them when the code finally runs.

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 MianHammadx0root

View all

2 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.