Skip to content
XSS Disclosed report Beginner

Reflected XSS in https://www.█████/

A reflected cross-site scripting flaw existed on a page of the site, triggered by a crafted link that injects an event handler into the page. An attacker could run script in a victim's browser to steal session cookies or act as the user.

nirajgautamit Follow

Originally disclosed on HackerOne

  • Triaged in 4 hours
  • Fixed in 50 days
  • Disclosed after 57 days

Hello Security Team, I would like to report the XSS vulnerability on your system. Steps To Reproduce: Visit the following POC link and move your mouse allover index page: https://www.████/(Z(%22onmouseover=alert%60%60%20%22))/████████/█████.aspx

  1. Tested on firefox browser:

███████ 2.Tested on google chrome browser:

█████████

Impact

An XSS attack allows an attacker to execute arbitrary JavaScript in the context of the attacked website and the attacked user. This can be abused to steal session cookies, perform requests in the name of the victim, or for phishing attacks.

The original report as published on HackerOne, by nirajgautamit. 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

Root cause

Likely the page reflected a URL parameter into the HTML without proper encoding, allowing an event handler to be injected.

Impact

An attacker could execute arbitrary JavaScript in the victim's browser to steal session cookies, make requests as the victim, or conduct phishing; the report shows it worked in Firefox and Chrome.

What the attacker needed

Victim clicks a crafted link; victim moves mouse over the page

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 something from a link and puts it into the page without cleaning it, so an attacker can slip in their own code. Here a link contained a mouse-over event that ran a script when the victim moved the mouse over the page. The script runs as if it came from the real site, so it can read cookies or make requests as the logged-in user.

What is XSS?

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

More by nirajgautamit

View all

2 more disclosed reports, best first.

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.