Skip to content
XSS Disclosed report Beginner

Reflected XSS on https://████/ (Bypass of #1002977)

A reflected cross-site scripting vulnerability existed on a DoD website, allowing an attacker to execute JavaScript in a victim's browser. The report claims this was a bypass of a previously fixed issue.

nagli Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 18 days
  • Disclosed after 38 days

##Hello DoD team,

Third time a charm :-)

I really cannot explain what is going on with this ██████████ website,

You just locked the report so i can't comment there, but it seems it works right now and i have proof of a video with time stamp.

I am talking about #1002977, i hope you will see this fast enough when it still works.

███████

##Summary: Reflected Cross site Scripting (XSS) on https://██████████████████

##Steps To Reproduce:

  1. Navigate to https://████████████
  2. Alert will pop :-)

█████████

##Recommendations for fix Content based escaping on the users input, in this case on the url parameter.

##Best Regards, nagli

Impact

Attacker can execute JS code on the Victim Behalf.

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

Root cause

Likely the application failed to properly escape user input from a URL parameter before reflecting it into the page.

Impact

An attacker could execute JavaScript code on the victim's behalf.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Navigate to the vulnerable URL.
  2. An alert box pops up, confirming script execution.

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.

XSS is when a site reflects user input into a page without making it safe, so an attacker can run their own code. Here a URL parameter was reflected, letting the attacker run JavaScript as the victim.

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.