Stored XSS vulnerability on a DoD website
A stored cross-site scripting vulnerability existed on a Department of Defense website, allowing an attacker to craft a specially formatted URL that could execute a malicious script. This could potentially reveal a user's web session information or modify web content.
Originally disclosed on HackerOne
- Disclosed after 4 months
Summary by the program
A stored 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. @rashedhasan007 was able to demonstrate this vulnerability by crafting a specially formatted URL. Thank you!
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 user-supplied input before storing and displaying it, allowing script injection.
Impact
An attacker could potentially steal a user's web session information or modify web content.
What the attacker needed
Victim clicks a crafted URL
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.
Stored cross-site scripting (XSS) is when a website saves harmful code that a user's browser later runs. Here, an attacker could make a special link that, when visited, runs a script in the victim's browser. This might let the attacker see the victim's session or change what the page shows.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.