If your Electron app executes third party, remote code. But if it does, you should definitely not use it.
There's a high chance that it does because of embedded content/ads/iframes/in-app browsers.
Genuinely asking here. I've never written an Electron app personally so I don't know how this stuff is done exactly, but the idea of in-app browsers in Electron apps sounds terrifying to me, security-wise.