Post
If you have a whitelist for users to have permission for it, it's definitely a lot less of a concern (since you can set it to only allow permitted users to be parsed directly while the rest are sanitized & only displayed as text), but it might not be as exciting/dangerous as allowing just anyone to.
Though in all fairness, there are always other potential dangers with allowing any JS from chat beyond OS code execution (displaying dangerous content, connecting to OBS via websockets to send back the active streamkey, crashing the application or graphics context, playing Phil Collins' music)
0 reposts3 likes