Skip to content
XSS Write-up Beginner

How I Discovered a Hidden XSS and What I Learned

A subdomain that had been missed during earlier enumeration was found to host an XSS vulnerability. An attacker could use it to run script in a victim's browser, though the text gives no technical detail.

issam.qsous Follow

Published on medium.com

Hello everyone! Sorry for not writing for over six months, but I’ve been busy since I started working at a company that focuses on physical security, like IP cameras and access controls.

Essam Qsous, 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 an input-handling mistake on the newly found subdomain that let script be injected, but the text does not describe the mechanism.

Impact

The report was accepted as a medium-severity issue, meaning script could run in a victim's browser, but the text does not describe what an attacker could actually achieve with it.

What the attacker needed

Target has an undiscovered subdomain; subdomain is reachable and vulnerable

How it was found

  1. Run subdomain enumeration with Subfinder on the target.
  2. Notice a subdomain that earlier enumeration had missed.
  3. Investigate that subdomain and find an XSS flaw.
  4. Write and submit a short 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 slip their own JavaScript into a page that other people view. That script then runs in the victim's browser as if the site itself had written it. Here the author only says such a flaw existed on a forgotten subdomain; they do not explain how it worked.

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.