cross-posted from: https://sh.itjust.works/post/923025
lemmy.world is a victim of an XSS attack right now and the hacker simply injected a JavaScript redirection into the sidebar.
It appears the Lemmy backend does not escape HTML in the main sidebar. Not sure if this is also true for community sidebars.
I mean, if it’s something that’s editable only by admins of the instance, I’m not sure it constitutes a vulnerability, since admins can change the content to whatever they desire by definition.
Wasn’t clear till further people commented that it was something only and admin could do. So I agree.
We have yet to confirm if a vulnerability exists in the sidebars that can be set by community mods.
can you temporally take away the ability for mods to put html or any kinda script into the sidebar, at least for now?