They finally did it. Microsoft has successfully over-engineered a text editor into a threat vector.

This CVE is an 8.8 severity RCE in Notepad of all things.

Apparently, the “innovation” of adding markdown support came with the ability of launching unverified protocols that load and execute remote files.

We have reached a point where the simple act of opening a .md file in a native utility can compromise your system.

  • dbtng@eviltoast.org
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    2
    ·
    2 days ago

    I miss oldskool Notepad being present on the system. Win11 Notepad is a worthless piece of shit.
    But … any computer or vm that I use for more than a few hours gets a copy of Metapad.

    I’ve been using Metapad for … umm … decades.
    Metapad is a simple, extremely lightweight editor, intended to just barely be better than Notepad, fixes a lot of shit that MS never did and stays simple.
    https://liquidninja.com/metapad/

      • dbtng@eviltoast.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 hours ago

        Back in the old Web 1.0 days I used to label my websites “Coded by Notepad.exe”.
        Well, you couldn’t pay me to use today’s Notepad. But Metapad fills that gap perfectly.

    • Professor_Piddles@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      1 day ago

      I’ve been a long time user of Notepad++ after Notepad started inserting random whitespace characters in files, which messed up some jankety scripting I was doing at the time. Do you happen to know if Metapad is good about not adding unintended characters like that?

      • dbtng@eviltoast.org
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        Yes. Metapad is too dumb for that shit. By design.
        It’s only barely smart enough to be better than Notepad.
        It’s not smart enough to do anything dumb.

        Its free, extremely mature, and you already know how to use it.
        Metapad is a feature-for-feature drop-in replacement for Notepad.

      • Log in | Sign up@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        I use EditPadLite and have done for a loong time. It has regex find and replace, is fast and you can tell it to display word wrapped or not, numbered lines or not, font, size, colours, syntax highlighting scheme, all based on file extensions. I have it as my default text editor and for all kinds of other files as well as text.

        If I want to do major coding, I fire up the IDE and choose from my recent projects, but if I want to quickly edit some xml or a single source file, I double click it and edit it in EditPadLite.

        • dbtng@eviltoast.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          17 hours ago

          This is the first I’ve heard of EditPadLite. From a cursory examination of their site, it appears to be written with the same general design philosophy as Metapad, albeit not as low profile. I’ll give it a tentative thumbs up.
          The EditPadLite download is 18mb. My copy of Metapad is 190k. Small and fast.

          • Log in | Sign up@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            16 hours ago

            The only time it’s ever in the least bit slow to load is when it’s on a onedrive folder at work and Microsoft don’t cache it locally so there’s a delay getting the thing in the first place.

            Does metapad have regex find and replace? If so, smaller and even faster is appealing.

            • dbtng@eviltoast.org
              link
              fedilink
              English
              arrow-up
              2
              ·
              11 hours ago

              The find and replace is based off of the Notepad interface.
              It does support searching for newlines and such, but it doesn’t look like it does full regex.

              • Log in | Sign up@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                10 hours ago

                Ah. I use regex replace every week with matching substrings a good few times a month. It’s not any slower to load than notepad and considerably less annoying.

    • Lfrith@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Windows 11 ltsc comes with old Notepad. Looks like the same one from Windows 10.

        • Lfrith@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          17 hours ago

          That looks like a nightmare.

          Windows 11 ltsc is interesting in that its like a time capsule. More like Windows 7 than 10. Has no Microsoft store, no onedrive, no game bar. And has old Microsoft paint, calculator, and notepad from Windows 10 with no tabs.

          There’s not really anything to uninstall. And it just gets security updates. Its a bare bones OS that feels closer to Linux because of that without the crap that even Windows 10 had showing tiktok and meta in the start menu to remove.