Lemmy.world and lemmy.blahaj.zone have been hit with a JavaScript injection attack it seems.
you are being redirected to a porn site. sorry for the convenience.
it’s also preventing all other content and (hopefully) temporarily killing the instance, I know you’re probably just joking but this ain’t good
oh hell no, I mean heck no, this is totally bad news bears. They just got clowned and if you don’t laugh at yourself someone will do it for you.
I used to watch porn. I still do, but I used to, too.
Looks like Lemmy code has a security vulnerability, persistent XSS, that allows injection of Javascript into the sidebar and comments. That allowed the attacker to force load NSFW content even after lemmy.world admins cleaned up the first attack.
Looks like the injected JS code also steals login tokens from your browser, seems some admin accounts got compromised this way.
Probably a good idea to not visit Lemmy sites for time being (or block execution of Javascript in your browser, which is always a good idea).Not just sidebar or comments, but anywhere markdown is used. The issue is the markdown editor. This is the current proposed fix.
Issue 1895 opened and patch purposed for the core issue. The markdown editor does no escaping input on custom emojis. This is likely why users on app were seeing text and not getting the redirect.
🙃
If you build it, they will come (to break it).
Takes me back to the myspace days.
The self-replicating javascript friend-adding worm! I remember that.
Any recommendations on how to mitigate risks like this when it comes to browsing lemmy? Any lite version to see lemmy through without Javascript?
No. The existing Lemmy-Lite that was advertised on join-Lemmy.org appears to be massively out of date, and no longer actively maintained.
It was a bug with Lemmy-UI, so you might be able to get away using an app or site that isn’t vulnerable. Whether that is Wefwef, one of the apps, like Jerboa, or something that is Federated, but not Lemmy, like Kbin, or Mastodon (things might be a bit clunky if you do, since Lemmy threads aren’t well handled by Mastodon).
I don’t know if it’s related, but vlemmy.net has also been down since yesterday with no explanation.
deleted by creator
that’s not the issue bruh they literally used a JavaScript injection to redirect all other posts to whatever nsfw stuff they wanted
And if they could do that, someone else could use the same trick to do worse things, since they’re just running bare JavaScript.
Please go back to reddit and stop bothering people here.
If you don’t like Lemmy/Kbin, then you can just go back to Reddit…