5 XSS at xyz.com lead to 5000€ — Shivang Maurya
Five reflected cross-site scripting flaws were found across several endpoints on the target's infrastructure, including a hidden parameter on a registration page and hidden parameters on a login endpoint. An attacker could craft links that run script in a victim's browser on the affected site.
medium.com
Published on medium.com
Starting the new year with a solid bug bounty hunt is always the goal, and in early January 2026, I decided to focus my efforts on XYZ’s infrastructure. After mapping the attack surface and digging deep into the application logic, I managed to chain together five Reflected Cross-Site Scripting (XSS) vulnerabilities…
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 application reflected user input into HTML without proper encoding, including in hidden parameters that were overlooked in the backend sanitisation logic.
Impact
An attacker could run script in a victim's browser on the affected site via a crafted link, though the text does not describe any concrete harm beyond the alerts firing.
What the attacker needed
Victim opens a crafted link; attacker finds a reflecting parameter
How it was found
- Use a search engine dork to find JavaScript resource endpoints on the target domain.
- Test the discovered endpoint and notice that URL-encoded input bypasses the firewall filter.
- On a registration page, inspect the source and find an unused parameter that is not validated.
- Send a script payload in that hidden parameter and see it reflected and executed.
- Collect parameters used across the site and fuzz the login endpoint with them using a unique canary value.
- Replace the canary with an obfuscated script payload once a reflecting parameter is found, and repeat on other endpoints.
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 means a website takes something from the address bar and puts it into the page without cleaning it, so a crafted link can make the site run code written by the attacker. Here the author found five places where that happened, some in parameters that are not shown in the normal interface. A victim would have to open a specially made link for it to work.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.