Reflected XSS
The application reflected user-supplied input from a URL parameter into the response without proper encoding, allowing an attacker to execute arbitrary JavaScript in a victim's browser. This could let the attacker perform actions as the victim, view or modify their data, and steal cookies.
- Triaged in 2 days
- Fixed in 45 days
- Disclosed after 2 months
Summary
Reflected cross-site scripting (XSS) arises when an application receives data in an HTTP request and includes that data within the immediate response in an unsafe way. An attacker can execute JavaScript arbitrary code on the victim's session.
Impact
- Perform any action within the application that the user can perform.
- View any information that the user is able to view.
- Modify any information that the user is able to modify.
- Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user..
- Steal user's cookie.
Supporting Material/References:
https://hackerone.com/reports/438240 https://portswigger.net/web-security/cross-site-scripting/reflected
System Host(s)
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Go to:
- https://www.█████████.mil/██████████=%27%3Balert(%27XSS!%27)%2F%2F
Suggested Mitigation/Remediation Actions
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 application failed to encode or validate user input before including it in the HTML response.
Impact
An attacker could perform any action the victim can, view or modify their information, interact with other users as the victim, and steal the victim's cookie.
What the attacker needed
Victim clicks a crafted link
How it was found
- Visit the crafted URL containing a script payload in a parameter.
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 website takes something you typed in a link and puts it directly on the page without cleaning it, an attacker can put code in the link. If you click that link, the code runs in your browser as if the website itself sent it. This lets the attacker do things like read your cookies or act as you on that site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.