this post was submitted on 10 Jul 2023
168 points (97.2% liked)

Lemmy.ca's Main Community

2820 readers
1 users here now

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

founded 4 years ago
MODERATORS
 

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 comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago (2 children)

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

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 2 points 1 year ago (1 children)

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.)

[–] [email protected] 5 points 1 year ago (1 children)

At this point it doesn't seem like community sidebars have the voulnerabilty. We are fairly confident that they have identified the voulnerabilty and that lemmy.ca is safe as long as our admin accounts are properly locked down which we have confirmed.

[–] [email protected] 1 points 1 year ago

Oh, good! That's excellent then.