Skip to content
XSS Disclosed report Beginner

XSS Reflected

A reflected cross-site scripting vulnerability was found in a web asset, where an attacker could inject browser-executable code via a crafted URL. This could allow the attacker to perform actions as the victim, steal cookies, or redirect to phishing sites.

ferreiraklet_ Follow

Originally disclosed on HackerOne

  • Triaged in 36 hours
  • Fixed in 2 months
  • Disclosed after 6 months

Summary:

Hi team,

It was found a xss reflected in your web asset.

Reflected Cross-site Scripting (XSS) occur when an attacker injects browser executable code within a single HTTP response.When a web application is vulnerable to this type of attack, it will pass unvalidated input sent through requests back to the client.

Steps To Reproduce:

  1. Access the url https://███.aspx/%22%20onmouseover=%22prompt(1)%22%20x=%22
  2. See the popup in the screen

Supporting Material/References:

[list any additional material (e.g. screenshots, logs, etc.)]

  • [attachment / reference]

███

Impact

Impact

  • An attacker that can control the code executed in a victim browser can usually fully compromise this victim. This includes :
  • Perform any action within the application that the user can perform.
  • Modify any information that the user is able to modify.
  • Steal user cookies
  • Redirect to phishing site
  • Arbitrary requests - An attacker can use XSS to send requests that appear to be from the victim to the web server.
  • Malware download - XSS can prompt the user to download malware. Since the prompt looks like a legitimate request from the

site, the user may be more likely to trust the request and actually install the malware.

  • Run Arbitrary javascript code into victim's browser

System Host(s)

██████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Access the url https://███████.aspx/%22%20onmouseover=%22prompt(1)%22%20x=%22
  2. See the popup in the screen

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by ferreiraklet_. 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 web application reflects user-supplied input from the URL into the response without proper validation or encoding.

Impact

An attacker could fully compromise the victim's browser session, perform actions as the user, steal cookies, redirect to phishing sites, or prompt malware downloads.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Access the provided URL with a crafted payload in the path.
  2. Observe the JavaScript popup 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 a flaw where a website takes input from a URL and puts it directly into the page without cleaning it. Here, an attacker can craft a link that, when clicked, runs malicious code in the victim's browser. This can let the attacker do things like steal the victim's session or redirect them to a fake site.

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 ferreiraklet_

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.