HexBrain

Slack 路 Report #96337

Stored XSS in Slack (weird, trial and error)

Validstatus
4upvotes
10 Nov 2015disclosed

How it was found

Hi slack. I found a weird, trial and error Stored XSS in Slack... I hope you can get clear of this and get it too.. and I hope you can find the XSS too. Anyway here it is (according to what I did):

  1. Go to your Slack or create a new Slack team.
  2. In slackbot.. enter this payload: <img class="emoji" alt="馃槸" src="x" /><svg onload=prompt(document.domain)>
  3. Then, Create a new post and enter the same payload too (as title, and in one paragraph, one code)
  4. Share it to slackbot,, and comment using the XSS payload given
  5. Then create a snippet.. enter the payload as well... and it is HTML or any format..
  6. Add comment using the XSS payload.
  7. Click Create snippet

then I refreshed my slack.. I suddenly got an XSS payload.. In some cases, this will work immediately.. but sometimes... you will have to repeat the process. trial and error..

I hope you understand my report... I have provided videos and pictures for clearer details.

Thanks!

Video link: https://youtu.be/UtYrymMgMb8

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original