Skip to content
XSS Write-up Beginner

Blind XSS on Registration System

A registration form on a government subdomain stored user-supplied input without sanitising it, so an XSS payload placed in fields such as the username executed later in another context. The author used an external blind XSS service to confirm execution and notes that personal user information could be stolen as a result.

aurelioyudistira Follow

Published on medium.com

Banyak dari kita yang sering menggunakan website-website di internet. Namun, apakah kalian yakin data-data yang kalian masukkan di dalam website tersebut terjaga dengan baik keamanannya?

MxShinzu, 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 registration system stored user input without sanitising or escaping it before rendering it in another page or panel.

Impact

The stored script could execute in another user's or an administrator's session, and the author states personal user information could be used for account stealing.

What the attacker needed

Victim or admin views the stored data; attacker can submit the registration form

How it was found

  1. Open the registration section of the target website.
  2. Replace fields such as the username with an XSS payload.
  3. Submit the registration form.
  4. Check the external XSS monitoring service for a callback.

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 (XSS) flaw means a website saves text you type, such as a username, and later shows it to someone else without cleaning it. If that text contains a small script, the script runs in that other person's browser. 'Blind' here means the attacker cannot see the result directly, so they use a separate monitoring service to be told when the script fires.

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.