Remote code executionin the electron package.
Proof of concept public (Exploit-DB).
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a WebPreferences vulnerability that can be leveraged to perform remote code execution.
- Upgrade electron (npm) to 1.7.16, 1.8.8, 2.0.8, 3.0.0-beta.7 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 21 Aug 2018CVE ID reserved by mitre.
- 23 Aug 2018Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- electronjs.org x_refsource_MISC
Patchminder. CVE-2018-15685: Remote code execution in the electron package. https://patchminder.com/cve/cve-2018-15685/ (accessed 5 December 2026).