Skip to content
XSS Disclosed report Beginner

HTML injection vulnerability on a DoD website

An HTML injection vulnerability existed on a Department of Defense website, allowing an attacker to craft a specially formatted URL that could trick a user into viewing modified web content. This could potentially reveal the user's web session information or other sensitive information.

kunal_khubchandani Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 4 months
  • Disclosed after 4 months

Summary by the program

An HTML injection vulnerability was found on a Department of Defense website which may have been used to trick a web user into viewing modified web content, potentially revealing a user's web session information, or other sensitive information. @kunal_khubchandani was able to demonstrate this vulnerability by crafting a specially formatted URL.

The original report as published on HackerOne, by kunal_khubchandani. 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 user-supplied input before including it in HTML output.

Impact

An attacker could potentially trick a user into viewing modified web content and may reveal the user's web session information or other sensitive information.

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.

HTML injection is when a website takes input from a user and puts it into a web page without cleaning it first. An attacker can use this to insert their own HTML code, which can change what the page shows or trick the user. Here, the attacker made a special link that, when clicked, would show modified content and might steal information about the user's session.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.