Reflected XSS on ███████
A page that handles redirects reflected a URL parameter into the HTML without escaping it, so a crafted link ran script in the victim's browser. An attacker could use this to run JavaScript as the victim, which the author says could lead to cookie theft and account takeover.
- Triaged in under an hour
- Fixed in 3 days
- Disclosed after 3 days
Summary: Reflected Cross site Scripting (XSS) on████leaving.html?url=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Steps To Reproduce:
- Navigate to███leaving.html?url=
- Enter a crafted XSS payload like "><script>alert("xss by nagli")</script>
- Alert will pop :-)
█████████
How can the system be exploited with this bug? The attacker can execute JS code, which could lead to stealing cookies and full account takeover.
Recommendations for fix Content based escaping on the users input, in this case on the redirect parameter.
Best Regards, nagli
Impact
Attacker can execute JS code on the Victim Behalf.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the redirect parameter was written into the page without output encoding, so HTML and script characters were treated as markup.
Impact
The attacker can run JavaScript in the victim's browser, which the author claims could lead to stealing cookies and full account takeover.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the leaving page with an empty url parameter.
- Put a crafted script payload into the url parameter.
- Load the resulting link and the script runs, showing an alert.
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 report has not been written yet. The Original tab links to the source.
When a site puts something you typed straight into the page without cleaning it, you can sneak in code that the browser then runs. Here the site took a value from the address bar and placed it into the page as if it were part of the site's own code. Because the browser trusts the site, that code runs with the victim's logged-in session.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.