Skip to content
XSS Disclosed report Beginner

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.

Saajan Bhujel Follow

Originally disclosed on HackerOne

  • Disclosed after 9 months

Summary:

Hi security team members,

I found a reflected XSS on the URL

Impact

  1. An attacker can steal the victim's cookies.
  2. An attacker can execute JS code.

System Host(s)

█████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Navigate to this link:- https://██████████/██████=%3C/script%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
  2. Then, it will execute.

Suggested Mitigation/Remediation Actions

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

  1. Navigate to the provided link containing a script tag in a parameter.
  2. 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.

More by Saajan Bhujel

View all

3 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.