This post was created with AI assistance and reviewed for accuracy before publishing. In a web app, cross-site scripting means an attacker runs JavaScript in a browser tab. In an Electron app with the wrong settings, the same bug means an attacker reads the user's home directory.
Source: [Dev.to](https://dev.to/ganeshjoshi/electron-hardening-for-ai-powered-desktop-clients-3am4)