Slack · Report #679969
CSS Injection to disable app & potential message exfil
How it was found
Tested on Slack for MacOS v4.0.2 - I've marked this as code injection since there was no "css injection"
- In the app go to Preferences -> Sidebar
- Enable custom theming
- Set the column BG to
#FFFFFF;} html {display:none;} - The app will no-longer render (this survives re-installs)
If this theme were to be shared to someone unsuspecting they would be unable to use slack, even surviving a reinstall (on mac, untested on other platforms).
Furthermore it might be possible to exfil message data using CSS only. As seen here it is possible to keylog via CSS only https://github.com/maxchehab/CSS-Keylogging/ however I have not been able to come up with a proper PoC of this.
I've marked this as low for now as I don't have a PoC exiling data however I have shown that it is possible to inject to completely disable the app.
Impact
The app is no longer able to render - there might be the possibility of data exfil but I didn't get a PoC working.