U.S. Dept Of Defense · Report #971360
Reflected XSS on ███████
Validstatus
mediumseverity
9upvotes
3 Sept 2020disclosed
How it was found
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.