Remote Code Execution on Element Desktop Application using Node Integration in Sub Frames Bypass - CVE-2022-23597
Element Desktop embedded a self-hosted Jitsi conference server in an iframe, and because the app used an old Electron version, a renderer exploit could flip the nodeIntegrationInSubFrames preference so that iframe preloads gained access to the exposed IPC bridge. From there an attacker could call the userDownloadOpen IPC handler with an arbitrary path and launch a local executable, achieving remote code execution.
Matrix (Element)