this post was submitted on 10 Jul 2023
60 points (98.4% liked)

Technology

9 readers
1 users here now

Talk about anything tech related!

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

top 1 comments
sorted by: hot top controversial new old
[–] p03locke@lemmy.dbzer0.com 3 points 2 years ago

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