{"cve":"CVE-2018-15685","nvd":{"published":"2018-08-23T05:29:00.227","modified":"2026-06-17T01:42:55.870","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-1188"],"references":["https://electronjs.org/blog/web-preferences-fix","https://www.exploit-db.com/exploits/45272/","https://electronjs.org/blog/web-preferences-fix","https://www.exploit-db.com/exploits/45272/"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2018-15685","score":0.10297,"percentile":0.95698,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hv9c-qwqg-qj3v","url":"https://osv.dev/vulnerability/GHSA-hv9c-qwqg-qj3v","summary":"Electron webPreferences vulnerability can be used to perform remote code execution","modified":"2023-11-08T03:59:57.849311Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=1.7.0 <1.7.16"],"fixed":["1.7.16"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=1.8.0 <1.8.8"],"fixed":["1.8.8"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=2.0.0 <2.0.8"],"fixed":["2.0.8"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=3.0.0-beta.1 <3.0.0-beta.7"],"fixed":["3.0.0-beta.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}