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