Node.js has just released fixes for 10 security vulnerabilities that could put node-powered applications at risk and is urging everyone to update their systems.

  • Zarobi@aussie.zone
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    4
    ·
    1 day ago

    Yeah but if it’s just pure HTML you got an ugly-ass website that’s annoying to use. There’s been many JavaScript and css vulnerabilities over the years of course. But yes there was and still is plain HTML issues

    Client side:

    • I vaguely remember some base64 embedded encoding malware.
    • I do believe there was some issues with early HTML, if you had malformed tags, that could bypass checks and balances.
    • Svg, Images, audio, fonts, and video can definitely contain malware. Before you say fonts are a css thing, <font> was a real tag
    • IFrames were the worst:
      • They had too much power in the past and could hijack the page and browser.
      • There was no content security policy back then so they could inject JavaScript into the main page as well.
      • Also they can cover the whole screen and present a normal login screen, and hijack all inputs going through it. Think of it like you’re on dodgey-site.com and it has a full page IFrame to bank.com. This was a common hack back in the day which inspired an entire http header to help prevent this.
    • Anchor tags can link to something dodgey of course.
    • Embedded PDFs were a huge issue.
    • ActiveX and other web applets was just fucked. They were so bad they caused malware constantly. This is where unsolicited toolbars came from.
    • Adobe Flash had many many vulnerabilities over the years.
    • Canvas bugs are still a thing today.

    Server side, you could execute SQL injection and path traversal just via URL before the page even loads. Malware and other issues can be embedded in text inputs. HTML can be uploaded to the server and in some cases replayed on the page affecting other users (comment sections were infamous for this).

    So yeah; a plain HTML page with no JavaScript or css isn’t necessarily safe

      • Zarobi@aussie.zone
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        1 day ago

        Oh yeah, everyone loves black text on white background, with each div placed sequentially in a vertical stack :) really gives it that vintage mid 90’s dial up internet “the website failed to load CSS” look

        There’s nothing wrong with CSS. Arguably it’s been overcomplicated way beyond it’s original scope, but it works as designed to make your sites look good