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.

  • Chay
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    I’m not a programmer so disclaimer, from what I understand the HTML code in Lemmy’s sidebar is not “sanitized” so basically it’s not checked if it’s code or not, thus making it able to inject malicious code