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.

1 point

for some reason I had to reset my password.

permalink
report
reply
3 points
Deleted by creator
permalink
report
reply
5 points

So, as an average, less-technical, Lemmy user (this is my backup for now).
What can or should I do to stay safe?

permalink
report
reply
4 points

Id use an app you trust for now

On a site you have to sanitize your data, on a native app you’d have to go out of your way to render this kind of thing…wefwef/voyager is actually a web page (and they might or might not be sanitizing their inputs), the other top options are probably using libraries to do it, and data sanitation is pretty basic. Literally web dev 101. They’d have to choose a very full-featured rendering library that also entirely ignores security, or they’d have to have rolled their own

At least now I know why my renderer has been so annoying about the warnings the last couple days…

For any devs that read this - this is a great example of why you can’t trust anything coming off a federated network. Type check and sanitize all your inputs, always. We need to get away from trust - this isn’t a trustful situation

Luckily, this was more of a warning than an actual attack - and there will be actual attacks. We have to be defensive - always - every time at every level.

And Flemmy will be that, once I feel good releasing it (2 features left before I’m out of reasons to procrastinate). It’ll be just me, always

permalink
report
parent
reply
5 points

https://lemmy.world/post/1290412?scrollToComments=true

The affected instances are coming back and the vulnerability being mitigated. Apparently no personal data was compromised. So you should be fine.

permalink
report
parent
reply
-10 points
*
Removed by mod
permalink
report
reply
7 points

why is your entire account dedicated to sucking reddit’s asshole. do you like the taste of corporate shit?

permalink
report
parent
reply
6 points
*

Yeah it’s so weird, why make an account here if he likes Reddit so much? We just want to have another place to have communities, that’s why we left and stayed here. He should do the same, stay there and out of here if he hates this place so much.

permalink
report
parent
reply
5 points

it’s honestly pathetic. he hates it here so much that he spends 95% of his free time here making comments about how much better reddit is hahaha. he seems addicted to this place and addicted to the taste of shiny black boots

permalink
report
parent
reply
2 points

Beehaw completely shut down as a response

permalink
report
reply
5 points

While I respect their decision, I believe that’s a over-reaction at this point and we will not be doing that, yet.

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

  • 135

    Monthly active users

  • 187

    Posts

  • 2.2K

    Comments