Skip to content
XSS Disclosed report Beginner

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.

khan mamun Follow

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

  1. go to parameter https://█████████/7/0/33/1d/www.citysearch.com/search?what=x&where=
  2. enter "><svg+onload=confirm(document.domain)>

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by mamunwhh. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.