Skip to content
XSS Disclosed report Beginner

Reflected XSS at [████████]

A reflected cross-site scripting flaw existed in a URL parameter, allowing an attacker to run script in a victim's browser. The report claims this could be used to steal cookies or act as the victim.

rook1337 Follow

Originally disclosed on HackerOne

  • Disclosed after 48 days

Description: Reflected XSS was found on the URL which can be used to steal cookies or perform any action on the behalf of the user.

Impact

Cookie stealing, browser hijacking or any action can be performed on the behalf of the victim user

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Go to https://███████%22%20onclick=%22/%3E%22%3Cimg%20src=x%20onerror=alert(1);%3E&pt=PT-15951-Pv0qVVSOyrbtIuulh8prGw8eNt4-██████████
  2. It will execute the XSS payload in the ███= parameter in the URL.

Suggested Mitigation/Remediation Actions

Sanitize the ███= URL parameter properly.

The original report as published on HackerOne, by rook1337. 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 URL parameter was reflected into the page without proper output encoding or sanitisation.

Impact

An attacker could steal cookies or perform actions on behalf of the victim, though the report gives no proof beyond the alert.

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.

Cross-site scripting (XSS) is when a website puts user-supplied text into a page without cleaning it, so a crafted link can make the browser run attacker-controlled code. Here the parameter in the URL was reflected back into the page, so opening a specially built link would run script in the visitor's browser.

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 rook1337

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.