Reflected XSS on [█████████]
A reflected cross-site scripting flaw was found on a URL parameter, allowing an attacker to execute arbitrary JavaScript in a victim's browser. The attacker could steal the victim's cookies or run code in the context of the site.
Originally disclosed on HackerOne
- Disclosed after 9 months
Summary:
Hi security team members,
I found a reflected XSS on the URL
Impact
- An attacker can steal the victim's cookies.
- An attacker can execute JS code.
System Host(s)
█████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Navigate to this link:- https://██████████/██████=%3C/script%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
- Then, it will execute.
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
Impact
An attacker could steal the victim's cookies or execute JavaScript code in the victim's browser.
What the attacker needed
Victim clicks a crafted link
How it was found
- Navigate to the provided link containing a script tag in a parameter.
- The script executes in the browser.
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.
Cross-site scripting (XSS) is when a website takes input from a URL and puts it directly into the page without cleaning it. Here, the attacker crafted a link that includes a script tag, and when a victim clicks it, the script runs in their browser. This lets the attacker act as the victim 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.