this post was submitted on 10 Jul 2023
94 points (96.1% liked)

Lemmy.ca's Main Community

3251 readers
4 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
[–] [email protected] 24 points 2 years ago* (last edited 2 years ago) (2 children)

This has nothing to do with XSS, it is a simple HTML injection vulnerability, and it can only be exploited by instance admins.

Also Lemmy.world appears to have been running a custom frontend so it’s hard to say how widespread the affects of this are.

[–] [email protected] 6 points 2 years ago

You seem to be following the situation closely. Could you please DM me on Matrix?

[–] [email protected] -1 points 2 years ago* (last edited 2 years ago) (1 children)

Worst case scenario, they can steal your Lemmy session, right?

Which isn't super bad for a service like Lemmy. This isn't a social network, so most contact list scams would be useless.

Edit: just read the targets were admins. That IS bad.

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

Lemmy isn't a social network? Seems to be one to me.

[–] [email protected] 2 points 2 years ago

I mean, not in the traditional sense. You don't have your family and friends as Lemmy contacts and share posts with them. It's more anonymous.