Skip to content
XSS Write-up Beginner

How Hidden 3xXSS got revealed

A hidden parameter on a login page reflected user input without proper sanitisation, allowing script execution. The same parameter on two other pages also allowed cross-site scripting, giving three reflected XSS points.

0xbugatti Follow

Published on medium.com

I decided to start parameter fuzzing parameters as a part of my Reconnaissance and Application Mapping Methodology

0xbugatti, 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

Impact

An attacker could run script in a victim's browser session on the affected pages, though the payload required a user click to trigger.

What the attacker needed

Victim clicks a crafted link; hidden msg parameter present

How it was found

  1. Fuzz parameters on the login page with a parameter discovery tool.
  2. Identify a hidden parameter named msg.
  3. Study how the parameter is reflected on the page.
  4. Inject an uncommon XSS payload into the parameter.
  5. Trigger the payload by clicking to confirm execution.
  6. Repeat on the home and dashboard pages to find the other two XSS points.

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 web page sometimes takes a value from the address bar and shows it back on the page. If the page does not clean that value first, an attacker can put code in the link so the victim's browser runs it. This is called cross-site scripting, or XSS.

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 0xbugatti

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.