CVE-2026-48800
Beschrijving NL
Notepad++ is een gratis en open-source broncode-editor. Voorafgaand aan 8.9.6.1 wordt de tagtekstinhoud in shortcuts.xml gelezen door NppXml::value(aNode) (Parameters.cpp:3658) in de functie feedUserCmds() en opgeslagen in UserCommand._cmd zonder enige validatie. Wanneer de gebruiker op het overeenkomstige item in het menu Uitvoeren klikt, maakt NppCommands.cpp:4264 een Commando-object met string2wstring (ucmd.getCmd ()) en calls run(), dat ShellExecute (RunDlg.cpp:221) aanroept met de door de aanvaller gecontroleerde string als het uitvoerbare pad. De geïnjecteerde opdracht verschijnt als een normaal menu-item in het menu Uitvoeren, waardoor het een levensvatbaar persistentiemechanisme is. Deze kwetsbaarheid is opgelost in 8.9.6.1.
Origineel (Engels) tonen
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the tag text content inside in shortcuts.xml is read by NppXml::value(aNode) (Parameters.cpp:3658) in the feedUserCmds() function and stored in UserCommand._cmd without any validation. When the user clicks the corresponding entry in the Run menu, NppCommands.cpp:4264 creates a Command object with string2wstring(ucmd.getCmd()) and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. The injected command appears as a normal menu item in the Run menu, making it a viable persistence mechanism. This vulnerability is fixed in 8.9.6.1.