CSS Injection to disable app & potential message exfil
Medium
S
Slack
Submitted None
Actions:
Reported by
fletchto99
Vulnerability Details
Technical details and impact analysis
Tested on Slack for MacOS v4.0.2 - I've marked this as code injection since there was no "css injection"
1. In the app go to Preferences -> Sidebar
2. Enable custom theming
3. Set the column BG to `#FFFFFF;} html {display:none;}`
4. 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.
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Submitted
Weakness
Improper Input Validation