{"id":"CVE-2018-15685","published":"2018-08-23T05:00:00Z","modified":"2024-08-05T10:01:54Z","title":"GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10297,"percentile":0.95809,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/45272/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://electronjs.org/blog/web-preferences-fix","tags":["x_refsource_MISC"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.16},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-08-27"},"first":{"date":"2018-08-27","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/45272"},"provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":[">=1.7.0, <1.7.16",">=1.8.0, <1.8.8",">=2.0.0, <2.0.8",">=3.0.0-beta.1, <3.0.0-beta.7"],"patched":["1.7.16","1.8.8","2.0.8","3.0.0-beta.7"],"from":["GHSA-hv9c-qwqg-qj3v"],"provenance":"source"}],"summary":{"text":"The flaw is a WebPreferences vulnerability in GitHub Electron, affecting versions 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6 when IFRAME elements are used alongside the \"nativeWindowOpen: true\" or \"sandbox: true\" options.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:54:09Z"},"euvd":{"id":"EUVD-2018-0403","exploited":false,"provenance":"source"},"exploits":[{"id":45272,"url":"https://www.exploit-db.com/exploits/45272","title":"Electron WebPreferences - Remote Code Execution","date":"2018-08-27","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/45272/","https://www.exploit-db.com/exploits/45272"],"lineage":{"familyId":"fam-electron-cve-2018-1000136","parents":[{"from":"CVE-2018-1000136","to":"CVE-2018-15685","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"1.7.13","toFixed":"1.7.16","daysApart":153},{"kind":"same-code","provenance":"machine","files":["lib/browser/guest-window-manager.js"],"commits":["https://github.com/electron/electron/commit/1a48ee28276e6588dbf4e70e58d78e7bfdc57043","https://github.com/electron/electron/commit/519a02d8d4d28e8a467acb40fb26172a80c9454f","https://github.com/electron/electron/commit/80221e52d93a96ea704cb6748ead669c55cff504"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2018-1000006","published":"2018-01-24","fixed":"1.8.2-beta.4","kev":false},{"cve":"CVE-2018-1000118","published":"2018-03-07","fixed":"1.8.2-beta5","kev":false},{"cve":"CVE-2018-1000136","published":"2018-03-23","fixed":"2.0.0-beta.5","kev":false},{"cve":"CVE-2018-15685","published":"2018-08-23","fixed":"3.0.0-beta.7","kev":false},{"cve":"CVE-2020-15096","published":"2020-07-07","fixed":"8.2.4","kev":false},{"cve":"CVE-2020-4075","published":"2020-07-07","fixed":"8.2.4","kev":false},{"cve":"CVE-2020-4076","published":"2020-07-07","fixed":"8.2.4","kev":false}],"package":"npm:electron"}}