Skip to content
XSS Disclosed report Beginner

Blind Stored XSS on https://█████████ after filling a request at https://█████

A request-submission form stored the description field without sanitisation, so script entered there executed when the request status page was viewed. The reporter expects the same payload to run in an administrator's session and send their details to the attacker, though only self-execution was demonstrated.

nagli Follow

Originally disclosed on HackerOne

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

Description:

When you submit a request at https://██████████, the content is being sent to the administrators of the application, and you will be presented with your request status at https://████

The Description field at the request status page is prone to stored xss and blind stored XSS injection, because there is no sanitization on the input being inserted.

As for now this is self (because the link is for the account), i'm 100% sure that when an administrator will check the request his details will get sent to my email, and i have a xss payload stored on my user.

████████

Step-by-step Reproduction Instructions

  1. Register to https://██████████ / login to my account (████)
  2. Navigate to https://███
  3. Craft your XSS payload on the description window
  4. Submit your request
  5. Navigate to https://█████████
  6. The javascript will execute.

Suggested Mitigation/Remediation Actions

Sanitizing the input being inserted into the description window field.

##Best regards nagli

Impact

Stored blind XSS on the pac.whs.mil website which could lead to administrator credentials being leaked.

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 description field was rendered into the status page without output encoding or sanitisation, allowing stored script to execute.

Impact

The stored script could run in an administrator's browser when they review the request, potentially leaking their credentials, but the report only shows it executing in the reporter's own account.

What the attacker needed

A free account; victim opens the request status page

The fix

The description input should be sanitised or output-encoded before it is rendered on the status page.

How it was found

  1. Register or log in to the application.
  2. Go to the request submission page.
  3. Enter a script payload in the description field.
  4. Submit the request.
  5. Open the request status page.
  6. The script runs in the browser.

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.

A page that shows back what you typed can be dangerous if it does not clean the text. Here the request description was displayed as live code, so a script in it ran in the reporter's own browser; the reporter expects staff reviewing requests to be affected too.

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.