Skip to content
XSS Disclosed report Beginner

Reflected XSS vulnerability in a DoD website

A reflected cross-site scripting vulnerability was found on a Department of Defense website. An attacker could craft a specially formatted URL to trick a user into executing a malicious script, potentially revealing session information or modifying web content.

rashedhasan007 Follow

Originally disclosed on HackerOne

  • Disclosed after 2 months

Summary by the program

A cross-site scripting (XSS) vulnerability was found on a Department of Defense. XSS vulnerabilities can be used to trick a web user into executing a malicious script, potentially revealing a user's web session information or modify web content. @rashedhasan007 able to demonstrate this vulnerability by crafting a specially formatted URL. Thanks @rashedhasan007!

The original report as published on HackerOne, by rashedhasan007. 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 website reflected user-supplied input from the URL into the page without proper encoding or validation.

Impact

An attacker could potentially steal a user's web session information or modify web content, though the text does not specify which browsers or defences were involved.

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.

XSS is when a website puts user input into the page without cleaning it, letting an attacker's script run in the victim's browser. Here the script was in a crafted URL.

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 rashedhasan007

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.