Cross-site Scripting (XSS) - Reflected at https://██████████/
A reflected cross-site scripting flaw existed in the 'where' search parameter, where user input was echoed back into the page without proper encoding. An attacker could craft a link that, when opened by a victim, runs JavaScript in the victim's browser and could steal cookies.
Originally disclosed on HackerOne
- Triaged in 6 hours
- Fixed in 5 months
- Disclosed after 6 months
Hello Team, i just found a reflected xss bug on your web https://█████
Step To reproduce: poc url: https://████/7/0/33/1d/www.citysearch.com/search?what=x&where=place%22%3E%3Csvg+onload=confirm(document.domain)%3E
Impact
Impact Data can be stolen, or Javascript can be executed.This is will allow the attacker to steal users cookies
System Host(s)
██████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- go to parameter https://█████████/7/0/33/1d/www.citysearch.com/search?what=x&where=
- enter "><svg+onload=confirm(document.domain)>
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 users' cookies or execute JavaScript in their browser, though the report does not demonstrate a full cookie-theft chain.
What the attacker needed
Victim clicks a crafted link
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.
A reflected cross-site scripting (XSS) bug means the website takes something you type into a link and puts it straight onto the page without cleaning it first. If that text is actually code, the browser runs it as if the site itself had written it. An attacker can send a victim a prepared link, and when the victim clicks it, the attacker's code runs in the victim's session and can read things like cookies.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.