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.
- 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
- Register to https://██████████ / login to my account (████)
- Navigate to https://███
- Craft your XSS payload on the description window
- Submit your request
- Navigate to https://█████████
- 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.
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
- Register or log in to the application.
- Go to the request submission page.
- Enter a script payload in the description field.
- Submit the request.
- Open the request status page.
- 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.