Community
    • Login

    Notepad++ v8.8.9: Vulnerability-fix

    Scheduled Pinned Locked Moved Announcements
    26 Posts 9 Posters 9.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • donhoD
      donho
      last edited by donho

      Notepad++ release 8.8.9 is available:
      https://notepad-plus-plus.org/news/v889-released/

      Notepad++ v8.8.9 new security enhancement, new features, regression fixes & bug-fixes:

      1. Vulnerability-fix: verify certificate & signature on downloaded update installer. (Implement Notepad++ commit, WinGUp commit)
      2. Fix corrupted file loading on Windows system using the full UTF-8 code page. (Fix #17234)
      3. Fix crashing when hashing SHA-256 for large files. (Fix #17243)
      4. Fix “Select & Find Next” command not working regression. (Fix #17200)
      5. MSI improvement: Add NOUPDATER option & suppress REBOOT. (Fix #ref1, #ref2)
      6. Fix Perl Function List causes Notepad++ to freeze on tab switch regression. (Fix #17152)
      7. Fix context menu truncated regression on localization change. (Fix #17249)
      8. Add ability to update users’ langs.xml & stylers.xml from model XML files. (Fix #17128)
      9. Update to Scintilla 5.5.8 & Lexilla 5.4.6. (Update #17191)
      10. Add feature to sort lines in a document by length. (Fix #15615, #17186)
      11. Undo & redo enhancement: restore vertical scroll position after undo & redo. (Fix #17194)
      12. Fix mouse wheel horizontal scrolling amount not respecting Windows setting. (Fix #9480)
      13. Fix document map regression with keyboard input. (Fix #17224)
      14. Fix wrong system font scaling on Windows 7. (Fix #17066)
      15. Update to nlohman json 3.12.0. (Update #17242)

      As usual, the auto-update will be triggered in 1 week, if no critical issue found.

      CoisesC Saquib AkhtarS PeterJonesP 3 Replies Last reply Reply Quote 3
      • C
        cr0wm4n
        last edited by

        I have just downloaded the 8.8.9 msi and was going to upgrade my current 8.8.8 which was installed with intune. It will not upgrade as the product version in this 8.8.9 version is still set to 8.8.8 as can be seen here in Orca. ee6bdee8-a088-48be-a24b-ac7b552fc297-image.png

        donhoD 1 Reply Last reply Reply Quote 1
        • D
          Denny-89
          last edited by

          I’ve updated from v8.8.8 to v8.8.9 and suddenly the change history bar (or whatever it’s called) became white. Not a big issue, but extremely annoying. I’ve looked through the settings and couldn’t find anything specific to the history bar except turning it off all together which i don’t want. I’m using Win11 (3840x2160, 200% scaling) and the default Notepad++ dark theme.

          v8.8.9
          Screenshot 2025-12-10 115220.png

          v8.8.8
          Screenshot 2025-12-10 115939.png

          donhoD 1 Reply Last reply Reply Quote 0
          • donhoD
            donho @cr0wm4n
            last edited by

            @cr0wm4n

            I have just downloaded the 8.8.9 msi and was going to upgrade my current 8.8.8 which was installed with intune. It will not upgrade as the product version in this 8.8.9 version is still set to 8.8.8 as can be seen here in Orca.

            My bad, the version number in MSI was not changed during the build process.
            Please try this signed MSI, and confirm me the problem is fixed:
            https://download.notepad-plus-plus.org/repository/MISC/npp.8.8.9.Installer.x64.msi

            C 1 Reply Last reply Reply Quote 1
            • donhoD
              donho @Denny-89
              last edited by donho

              @Denny-89 said in Notepad++ v8.8.9: Vulnerability-fix:

              I’ve updated from v8.8.8 to v8.8.9 and suddenly the change history bar (or whatever it’s called) became white. Not a big issue, but extremely annoying. I’ve looked through the settings and couldn’t find anything specific to the history bar except turning it off all together which i don’t want. I’m using Win11 (3840x2160, 200% scaling) and the default Notepad++ dark theme.

              I cannot reproduce it.
              It could be caused by
              8. Add ability to update users’ langs.xml & stylers.xml from model XML files.
              By implementing this feature, the darkmode may not be considered and that makes this side effect.
              @PeterJones can you confirm it?

              PeterJonesP D 2 Replies Last reply Reply Quote 0
              • C
                cr0wm4n @donho
                last edited by

                @donho This looks better thankyou :)

                donhoD 1 Reply Last reply Reply Quote 1
                • donhoD
                  donho @cr0wm4n
                  last edited by

                  @cr0wm4n Thank you for your confirmation.

                  FYI, fixed MSI has been updated in downloaded page, as well for its GPG signature and its sha-256 hash.

                  1 Reply Last reply Reply Quote 0
                  • D
                    Denny-89 @donho
                    last edited by

                    @donho If it maybe helps - the files did indeed change. I’ve tried to temporary replace the newer ones with the old ones as a test, but langs.xml got immediately updated when i ran Notepad++ 8.8.9; stylers.xml surprisingly stayed the same old version.

                    Here’s a screenshot with the file properties from a 1 week old backup:
                    Screenshot 2025-12-10 173517.png

                    PeterJonesP 1 Reply Last reply Reply Quote 0
                    • PeterJonesP
                      PeterJones @donho
                      last edited by

                      @Denny-89 said,

                      I’ve looked through the settings and couldn’t find anything specific to the history bar except turning it off all together which i don’t want.

                      Settings > Style Configurator > Language: Global Styles > Style: Change History margin and related. Searching the user manual page about Preferences for “change history” will find first the on/off control description, then the description of how to change the colors.

                      @donho said in Notepad++ v8.8.9: Vulnerability-fix:

                      By implementing this feature, the darkmode may not be considered and that makes this side effect.
                      @PeterJones can you confirm it?

                      There are two ways to handle bringing in the new style entries from stylers.model.xml: either I could just bring in the entire entry, so that all themes that are missing a given entry will then inherit the same color that is in stylers.model.xml (which will make the new entries stick out like a sore thumb, but that might nudge the user to go find all those new jarring colors, and assign values that are more to their liking); or, if the active theme has a dark background by default I could look up the Default Style’s foreground and background for that theme, and assign those as the foreground and background colors for all new style entries (so that all the new styles will be completely unnoticed by the user, and they won’t ever notice that the feature brought in the new styles).

                      So the first makes it jarring, but noticeable; the second won’t be as jarring, but people might not know that they’ve got a lot of new style colors that they could set to their liking to get better highlighting in many languages (and a few new GUI colors).

                      Right now, it’s implemented as the first. If you want, I could change it to the second: it’s a bit more effort, but it’s doable.

                      donhoD 1 Reply Last reply Reply Quote 3
                      • PeterJonesP
                        PeterJones @Denny-89
                        last edited by

                        @Denny-89 said in Notepad++ v8.8.9: Vulnerability-fix:

                        stylers.xml surprisingly stayed the same old version.

                        Not surprising, to me. The new feature updates the just the active theme, so if you’ve got any theme other than Default (stylers.xml) chosen, any changes will have been saved in the themes\XYZ.xml file, not in stylers.xml. Since you are using one of the dark themes, you would have to look at that theme’s file for the change date, not stylers.xml.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Denny-89 @PeterJones
                          last edited by

                          @PeterJones said in Notepad++ v8.8.9: Vulnerability-fix:

                          @Denny-89 said in Notepad++ v8.8.9: Vulnerability-fix:

                          stylers.xml surprisingly stayed the same old version.

                          Not surprising, to me. The new feature updates the just the active theme, so if you’ve got any theme other than Default (stylers.xml) chosen, any changes will have been saved in the themes\XYZ.xml file, not in stylers.xml. Since you are using one of the dark themes, you would have to look at that theme’s file for the change date, not stylers.xml.

                          Thank you. I didn’t know the default dark theme is treated like a custom theme instead as a native color scheme like in other light/dark mode software, so i didn’t check the Style Configurator menu.

                          First i’ve changed just the history margin color, but then just decided to replace the whole themes folder with the one from 8.8.9 portable because there may be even more changes since May 2021 when my old DarkModeDefault.xml was created.

                          1 Reply Last reply Reply Quote 1
                          • CoisesC
                            Coises @donho
                            last edited by

                            @donho said in Notepad++ v8.8.9: Vulnerability-fix:

                            Update to nlohman json 3.11.3. (Update #15041 )

                            I wondered why you updated to an out-of-date version…

                            You actually updated to 3.12, in #17242.

                            donhoD 1 Reply Last reply Reply Quote 2
                            • F
                              fuba82
                              last edited by fuba82

                              Hi there, same bug here!

                              My own theme file is overwritten every time I load it…
                              This just happens since Notepad++ was updated to 8.8.9.

                              It worked flawless 8.8.9!
                              Means my own theme does no longer work with 8.8.9?

                              Nevermind, it works now!
                              Sorry for bothering you!

                              PeterJonesP 1 Reply Last reply Reply Quote 1
                              • PeterJonesP
                                PeterJones @fuba82
                                last edited by

                                @fuba82 said in Notepad++ v8.8.9: Vulnerability-fix:

                                My own theme file is overwritten every time I load it…
                                This just happens since Notepad++ was updated to 8.8.9.

                                Could you be more specific? v8.8.9 should update your theme to include any styles it is missing, but it does not delete any of your customizations.

                                But just to make sure, please explain in detail what your problem is: is your “own theme” just a customized version of one of the built-in themes? Do you put it in the AppData hierarchy, or in the Program Files hierarchy? Could you share your Debug Info? If it’s losing any of your custom colors that you’ve defined, could you show us the “before” and “after” – the whole file is too big to paste here, obviously… but if you can show us the section where your information was lost (so show what it was in the old theme, and then what it became in the overwritten theme), that would be helpful.

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  fuba82 @PeterJones
                                  last edited by

                                  @PeterJones
                                  Oh my… BIG sorry…

                                  My Theme’s file size changed and my “first” load, however, displayed the “default” style and this confused/shocked me!
                                  I copied over a backup of my Theme, the file size changed again, but now it works…

                                  All fine now, it seems.
                                  Sorry for my false positive!

                                  1 Reply Last reply Reply Quote 0
                                  • donhoD
                                    donho @PeterJones
                                    last edited by

                                    @PeterJones said in Notepad++ v8.8.9: Vulnerability-fix:

                                    if the active theme has a dark background by default I could look up the Default Style’s foreground and background for that theme, and assign those as the foreground and background colors for all new style entries (so that all the new styles will be completely unnoticed by the user, and they won’t ever notice that the feature brought in the new styles).

                                    I think it’s “the way to go”.

                                    So the first makes it jarring, but noticeable; the second won’t be as jarring, but people might not know that they’ve got a lot of new style colors that they could set to their liking to get better highlighting in many languages (and a few new GUI colors).

                                    The reason of “the way to go” is, if users don’t need to change anything, just let these features sleep.
                                    As I said, a good tool is a tool transparent: user opens it, get jobs done, then closes it, without noticing or being bothered by anything unsual.

                                    I could change it to the second: it’s a bit more effort, but it’s doable.

                                    Thank you. Then it’ll be in the next release.

                                    1 Reply Last reply Reply Quote 4
                                    • donhoD
                                      donho @Coises
                                      last edited by

                                      @Coises said in Notepad++ v8.8.9: Vulnerability-fix:

                                      I wondered why you updated to an out-of-date version…

                                      You actually updated to 3.12, in #17242 .

                                      I don’t really understand how/why I did this error.
                                      It’s too late for the release note, but at least it’s fixed in both:
                                      https://notepad-plus-plus.org/downloads/v8.8.9/
                                      &
                                      https://community.notepad-plus-plus.org/topic/27298/notepad-v8-8-9-vulnerability-fix

                                      Thank you for your heads up.

                                      KleinerDickerTigerK 1 Reply Last reply Reply Quote 0
                                      • donhoD donho referenced this topic on
                                      • Saquib AkhtarS
                                        Saquib Akhtar @donho
                                        last edited by

                                        @donho After recent update there is some issue with Theme or Style as now, I see 1 White Column additionally between Margin & Line Number separator. Please see image. It actually makes look like as if something is missing & distracts attention.2025-12-12_150207.jpg

                                        PeterJonesP 1 Reply Last reply Reply Quote 0
                                        • KleinerDickerTigerK
                                          KleinerDickerTiger @donho
                                          last edited by

                                          @donho

                                          I also have problems with the styles here, depending on which file was opened (e.g., ps1):

                                          Screenshot 2025-12-12 133421.png

                                          To be safe, I unpacked the portable version on a clean reference system, and the effect was immediately there. So it wasn’t an upgrade. The only style that works is ‘DarkModeDefault’

                                          Replacing any files didn’t help. Even if I replace all files except for notepad.exe, nothing changes.

                                          It seems there is no way to solve the problem on my part; in any case, I can’t think of any further solution.

                                          Have a nice day.

                                          PeterJonesP 1 Reply Last reply Reply Quote 0
                                          • PeterJonesP
                                            PeterJones @Saquib Akhtar
                                            last edited by PeterJones

                                            @Saquib-Akhtar said in Notepad++ v8.8.9: Vulnerability-fix:

                                            @donho After recent update there is some issue with Theme or Style as now, I see 1 White Column additionally between Margin & Line Number separator. Please see image. It actually makes look like as if something is missing & distracts attention.

                                            It’s actually two columns (Bookmark margin and Change History margin), and it was missing information in your theme file; v8.8.9 tried to fill in the missing information, but I made a bad decision on what color values to use to populate the missing information for v8.8.9. (In the next version, it will hopefully make default color decisions that will be less annoying to people… but that won’t help anyone who has already run v8.8.9).

                                            For your issue, the fix is easy enough: it looks like you are on khaki theme, so I will give example colors accordingly. The quick thing for those two columns is to go to Settings > Style Configurator, leave Language at Global Styles, and the Style: box,

                                            1. scroll down to Bookmark Margin, click on Background Color and More Colors, and set the colors to Red=175, Green=175, Blue=135, then OK
                                            2. scroll down to Change History Margin, click on Background Color and More Colors, and set the colors to Red=175, Green=175, Blue=135, then OK

                                            But since there might be other colors missing from yours that might be jarring later, if you haven’t done a lot of color or user-keyword customization, what I recommend is to exit Notepad++, then use Explorer to go to %AppData%\Notepad++\: If there’s a themes\ subdirectory, delete khaki.xml from %AppData%\Notepad++\themes\. When you restart Notepad++, it will use the version of khaki.xml from the installation directory rather than from your AppData hierarchy, )(Notepad++'s installer overwrites the installation\themes*.xml when you install or upgrade, so that one should be up-to-date and include the correct values for those margins.)

                                            [those instructions assume you have a “normal installation”, using the %AppData% hierarchy for settings and c:\program files\notepad++ for your installation directory; if you have a non-standard installation, files will be in a different location, and I’d need to see your full ?-menu’s Debug Info to give customized instructions.]

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors