{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-15685","id":"CVE-2018-15685","title":"Electron webPreferences vulnerability can be used to perform remote code execution","description":"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.","descriptionLong":"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.","published":"2018-08-23T05:00:00.000Z","updated":"2026-10-24T10:30:30.497688913Z","reserved":"2018-08-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=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"],"fixed":["1.7.16","1.8.8","2.0.8","3.0.0-beta.7"],"advisory":"GHSA-hv9c-qwqg-qj3v"}],"cwes":["CWE-1188"],"aliases":["GHSA-hv9c-qwqg-qj3v"],"references":[{"url":"https://www.exploit-db.com/exploits/45272/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://electronjs.org/blog/web-preferences-fix","tags":["x_refsource_MISC","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-15685","tags":["advisory"]},{"url":"https://github.com/electron/electron/commit/519a02d8d4d28e8a467acb40fb26172a80c9454f","tags":["web"]},{"url":"https://github.com/electron/electron/commit/80221e52d93a96ea704cb6748ead669c55cff504","tags":["web"]},{"url":"https://github.com/electron/electron/commit/bab968ca776be28791e4dddfd50c86bd5fae62fa","tags":["web"]},{"url":"https://github.com/electron/electron/commit/ef0a6d9a1c96efc4657c6dd3a6624eba969f095b","tags":["web"]},{"url":"https://github.com/electron/electron","tags":["package"]},{"url":"https://www.contrastsecurity.com/security-influencers/cve-2018-15685","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/45272","tags":["web"]},{"url":"https://www.npmjs.com/advisories/732","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.10297,"epssPercentile":0.9579,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-15685","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-15685","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-15685","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hv9c-qwqg-qj3v","ok":true,"note":"GHSA-hv9c-qwqg-qj3v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-15685","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 10% with CVSS 8.1"],"attention":null}