HexBrain

Slack · Report #4561

Stored XSS in Slackbot Direct Messages

Validstatus
8upvotes
4 May 2014disclosed

How it was found

Whenever a new team is created, Slackbot uses automated profile completion by asking a few questions from the user like the first name, last name, skype account etc. But instead of providing the correct details we provide <javascript:alert(document.cookie);> as input then Slackbot will cause the data go inside the anchor tag <a href=javascript:alert(document.cookie);>...</a> so clicking on the link will trigger XSS.

Video POC: https://www.dropbox.com/s/7fmbe4jnd923pd0/Dumbbot-XSS.mov

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