• timuchan@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    This was my thought as well, sanitize your inputs! Are they not quoting/casting to string before input?

      • Cocodapuf@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        Unless you’re coding from scratch it’s hard to not do this with any modern framework.

        I think that word modern is doing a lot of heavy lifting there.

        A lot of systems simply aren’t modern. There’s always that mentality of “well, it’s been working for the last 12 years, let’s not mess with it now”, despite all the valid objections like "but it’s running on Windows2000” or “it’s a data breach waiting to happen”…

        • T156@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          And it’s probably not seen as urgent enough an issue to need replacing the whole system for.

      • limer@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Word press code, and plugins, do not sanitize out of the box. You have to call an additional function, each time, that is not provided automatically. Many home made plugins miss that; many popular plugins used to be home made ones

          • Atherel@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            2 days ago

            Let’s take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

            Edit: Sorry, my app had a hiccup and posted my comment several times