Skip to content
XSS Disclosed report Beginner

Reflected XSS at https://█████ via "██████████" parameter

A search parameter on the site reflected user input into the page without proper encoding, allowing an attacker to inject an event handler that runs script in the victim's browser. An attacker could execute JavaScript on behalf of a victim, potentially stealing cookies.

pelegn Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 12 days
  • Disclosed after 24 days

There is Reflected Cross site scripting issue at the following url:

https://█████

Proof Of Concept

https://████████?█████=%22onfocus%3d%22alert(document.domain)%22autofocus%3d%22&█████████████████████=Search

████

Best Regards @pelegn

Impact

Cookies Exfiltration SOAP Bypass CORS Bypass Executing javascript on the victim behalf

System Host(s)

████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

Navigate to https://████?███████=%22onfocus%3d%22alert(document.domain)%22autofocus%3d%22&█████████████████=Search

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by pelegn. 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 search parameter value was reflected into an HTML attribute without encoding, allowing an injected event handler to execute.

Impact

An attacker could execute JavaScript in the victim's browser and potentially exfiltrate cookies, though the report only asserts this without demonstrating it.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Navigate to the crafted URL containing the injected parameter value.

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.

The website took text from the address bar and put it straight into the page without cleaning it. By crafting a special link, an attacker can make the site run their own JavaScript code in the victim's browser. This lets them act as the victim, for example reading 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 by pelegn

View all

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