this post was submitted on 10 Jul 2023
173 points (97.3% liked)

Lemmy.ca's Main Community

3043 readers
36 users here now


Welcome to the lemmy.ca/c/main community!

All new users on lemmy.ca are automatically subscribed to this community, so this is the place to read announcements, make suggestions, and chat about the goings-on of lemmy.ca.

For support requests specific to lemmy.ca, you can use [email protected].


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
[–] UncleBadTouch 2 points 2 years 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?

[–] TruckBC 3 points 2 years ago

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

[–] [email protected] 2 points 2 years 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.)

[–] TruckBC 5 points 2 years 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 2 years ago

Oh, good! That's excellent then.