Skip to content
XSS Disclosed report Beginner

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.

imran_hadid Follow

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(&quot;XSS-by-Imran&quot;)>

Here is the POC: https://youtu.be/dqrH2WhIgtk

Thanks

The original report as published on HackerOne, by imran_hadid. 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 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

  1. Set the company name to an XSS payload.
  2. Log in and open the message option.
  3. 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.

More by imran_hadid

View all

2 more disclosed reports, best first.

More from Slack

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.