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.

You are viewing a single thread.
View all comments View context
5 points

Wasn’t clear till further people commented that it was something only and admin could do. So I agree.

permalink
report
parent
reply
6 points

We have yet to confirm if a vulnerability exists in the sidebars that can be set by community mods.

permalink
report
parent
reply
2 points

can you temporally take away the ability for mods to put html or any kinda script into the sidebar, at least for now?

permalink
report
parent
reply
3 points

No. Unfortunately. This is not a confirmed vector of attack at this point but we are monitoring.

permalink
report
parent
reply
2 points

That would essentially be patching the vulnerability. A temporary fix would be just preventing the sidebar from being editable.

(Ideally the vulnerability would be patched, but these things take time.)

permalink
report
parent
reply

Lemmy.ca's Main Community

!main@lemmy.ca

Create post

Welcome to lemmy.ca’s c/main!

Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.

Announcements can be found at https://lemmy.ca/c/meta

For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support

Community stats

  • 89

    Monthly active users

  • 188

    Posts

  • 2.2K

    Comments