
- #DRAW IO DESKTOP SOFTWARE#
- #DRAW IO DESKTOP CODE#
In addition, he as the ability to delete all files belonging to the user. 4 Its interface can be used to create diagrams such as flowcharts, wireframes, UML diagrams, organizational charts, and network diagrams.
#DRAW IO DESKTOP SOFTWARE#
Additional searchable resources: Google Group. (previously draw.io 2 3) is a free and open source cross-platform graph drawing software developed in HTML5 and JavaScript.
#DRAW IO DESKTOP CODE#
By using this javascript execution on desktop app, the attacker might be able to get a code execution on the user's machine. Getting support for using draw.io desktop General questions and discussion.
ImpactĪn attacker could share a malicious drawio theme configuration on the web and wait for the person to load it into their app. More generally, I recommend you to make sure that each file interaction is done on checkFileContent approve files.
Change if (enc = 'base64') to if (enc = 'base64'). Check file content with checkFileContent before overwriting a file with writeFile. Allow writeFile only on specific extension list. Sanitize MathJax output by DomPurify to avoid any mXSS risk. Change nfigure(configData) to nfigure(configData, true) to avoid trust in configuration plugins. In order to avoid those issues, I recommend you to fix the following: provides a CLI as part of the Electron Desktop. With this software package, you can create high-quality designs, custom flow charts, complex network diagrams, and Unified. Its interesting to note that Firefox 87 does load the diagram properly using file:// or. That's why, it is important to notice that even creating a. The draw.io platform is a free-to-use online diagram app and editor. An attacker could try to make it more tricky to detect for the user. I know that the scenario isn't that much realist and need a user interaction, but it is a simple PoC. In addition, draw.io allows you to configure the application (mainly the interface) using a json file containing information like css or shapes stuff:, "", "")ĭata: 'PGh0bWxYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhY=1\ncalc.exe', 📝 Description Bypass disabled plugins configurationĪccording to its default configuration, drawio desktop disables the use of custom plugin and must be using -enable-plugins to enable it.