Store XSS
The company name field accepted an XSS payload that was stored and later rendered in the message room after login, causing script execution. An attacker could inject script that runs in the context of other users who view the message area.
Originally disclosed on HackerOne
- Triaged in 4 hours
- Fixed in 27 hours
- Paid in 27 hours
- Disclosed after 31 days
Hello Team.
I found a Store XSS. Where the company name is the vulnerable to XSS. If you give this below XSS script as Company name, you will get the XSS pop up after the login in message option where it'll randomly generated at the message room. “><IMG SRC=x onerror=javascript:alert("XSS-by-Imran")>
Here is the POC: https://youtu.be/dqrH2WhIgtk
Thanks
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 company name was stored and later inserted into the message room page without output encoding or sanitisation.
Impact
An attacker could run script in the browser of users who view the message room, potentially acting as them, though the report does not demonstrate this beyond an alert pop-up.
What the attacker needed
Ability to set a company name; victim views the message room
How it was found
- Set the company name to an XSS payload.
- Log in and open the message option.
- Observe the pop-up when the message room renders the company name.
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 stored cross-site scripting (XSS) bug means a website saves text a user typed and later shows it to other people without cleaning it up. Here the company name was saved with a small script hidden in it, and when the message area displayed that name, the browser ran the script. That lets an attacker run code in someone else's logged-in session.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.