Skip to content
XSS Disclosed report Beginner

XSS on a DoD website

A cross-site scripting vulnerability was found on a Department of Defense website, allowing an attacker to craft a specially formatted URL that may trick a user into executing a malicious script. This could reveal a user's web session information or modify web content.

ramsexy Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 5 months
  • Disclosed after 5 months

Summary by the program

A cross-site scripting vulnerability was found on a Department of Defense website which may trick a web user into executing a malicious script, potentially revealing a user's web session information or modify web content. @ramsexy was able to demonstrate this vulnerability by crafting a specially formatted URL.

The original report as published on HackerOne, by ramsexy. 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 failed to properly sanitise or encode user input reflected in a URL, allowing script injection.

Impact

An attacker could potentially steal a user's web session information or modify web content, though the text does not specify whether any defence limited the exploit.

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 a flaw where a website displays user-supplied content without properly cleaning it, so an attacker can sneak in their own code. Here, a specially crafted link could make a victim's browser run that code, which might steal their session or change what they see on the page.

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 ramsexy

View all

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