Skip to content
XSS Disclosed report Beginner

Reflected XSS on https://█████████/

A query parameter on the site was reflected into the page without validation, allowing script to run in the victim's browser. An attacker could execute JavaScript on behalf of a victim who visits a crafted link.

nagli Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 37 days
  • Disclosed after 40 days

##Vulnerable Website URL or Application:

JavaScript
https://███████/███████=%22%3E%3Csvg/onload=alert(%22nagli%22)%3E

##Description of Security Issue: (please limit to one site/app per submission)

Reflected XSS due to no input validation

██████████

##Steps needed to reproduce bug: Navigate to

JavaScript
https://███████/█████████=%22%3E%3Csvg/onload=alert(%22nagli%22)%3E

Choose whatever javascript you'd like to execute on the sub_div_ofc_sym_cd query parameter

##Remediation Sanitize the input on the that parameter

##Best Regards nagli

Impact

Executing Javascript on behalf of the victim

The original report as published on HackerOne, by nagli. 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 execute JavaScript on behalf of a victim who opens the crafted link.

What the attacker needed

Victim clicks a crafted link

The fix

The parameter should be sanitised or output-encoded so injected markup cannot execute.

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.

A reflected cross-site scripting (XSS) bug means the site takes something from the URL and puts it straight into the page without cleaning it. If that something is code, the browser runs it as if the site itself had written it, so an attacker can make a victim's browser do things 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 nagli

View all

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