Spyke
tech·TechnologybyBrad Ganley

(URGENT) Lemmy has an XSS vulnerability in the sidebar

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.

View original on toad.work
lemmy.dbzer0.com

Pretend that all HTML needs to be escaped and only disable it on a case-by-case basis.

8
cdivreply
lemmy.blahaj.zone

And use the Content-Security-Policy header to limit where scripts can load from, just in case you miss escaping HTML somewhere.

5
Johannoreply
lemmy.fmhy.ml

How can these issues still exist? Man we really should rethink how the web is build.

4

No, this shit is embarrassing. Nobody should be hit by Bobby Tables.

Lemmy leadership needs to re-think their priorities. They've entered the big leagues and are still pretending they are in the kid's sandbox.

2

You reached the end

(URGENT) Lemmy has an XSS vulnerability in the sidebar | Spyke